What's the code of the fields to upload files in a contactform (gifs, docs, jpgs, pngs, html, ...) ? And how does a cookie to reminder language-choices look like ?
What's the code of the fields to upload files in a contactform (gifs, docs, jpgs, pngs, html, ...) ? And how does a cookie to reminder language-choices look like ?
the code to upload a file? you mean link
and if you mean download or link the code is <a href="word.doc,html.htm,html,html,png.png,gif.gif,cur.cur,ani.ani">stuff</a>
No, I meant it as it is written:
What's the code of the fields to upload files in a contactform (gifs, docs, jpgs, pngs, html, ...) ?
Is this what you mean?
Code:<input type="file" name="fieldname">
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
No ! In some contactforms, you can upload images in the message you wish to send. Should look for an example in English.
that is the right code to do a browse or upload a pictue so mabe you should try it before you yell at himHTML Code:<input type="file" name="fieldname">
Look at actual FTP upload commands with PHP if that's what you're looking for. The above is correct if you want a user to be able to browse their computer for a file (whos location will be placed in corresponding box). The actual uploading requires a PHP function.
http://ca.php.net/manual/en/ref.ftp.php
- Mike
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Bookmarks