RE: [PHP-WIN] Re: How to do a File browse operation in PHP
| From: | Boget, Chris | Date: | Mon, 17 Dec 2001 14:08:09 +0000 |
| Subject: | RE: [PHP-WIN] Re: How to do a File browse operation in PHP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10930@lists.php.net to get a copy of this message | ||
> This can be done simply by HTML, just put this line in your code:
> <input type="file" name="xxx">
This can be a little dangerous if all he wants is a file name and not
have that file uploaded. Becasue that's what would happen auto-
matically if he uses the above. I know that, as a user, if I were filling
out a a form that just wanted a file name (and not necessarily the file),
I'd be leery of using such an input field.
Chris