For the form, use <input name="myfile" type="file">
and as for handling where the file get saved on the server-side, see:
http://www.php.net/manual/en/features.file-upload.php


On January 28, 2002 05:04 pm, you wrote:
> Hi there everyone,
>
> I'm writing an update utility for a database system, but I need to give the
> user the option to select a file from their machine to upload to the server
> (Not to the DB itself, but an images dir), what is the best way of doing
> this in PHP so that it brings up a file requestor too?
>
> Thanks for your help everyone :-)
>
> Chris

- Dave

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to