Re: [PHP-DEV] download of an Iamge From: php4 <email protected>
Date: 09/13/00

Addressed to: Manuele Ferraro <Manuele <email protected>>
              php-dev <email protected>

** Reply to note from Manuele Ferraro <Manuele <email protected>> Wed, 13 Sep 2000 16:15:33 +0100
>
> Hi, who i can download an image from a client? Client specify an image
> path in a web form.
>

1. This mailing list is for the development of PHP, not for questions
about how to use it. Any further questions along this line should be
directed to php-general <email protected>

2. Have you looked at the manual:

   http://www.php.net/manual/html/features.file-upload.html

That section covers file uploads pretty well. About the only thing that is
not covered there is how to allow the user to specify the image path, which
you can do with a simple text field. Just make sure you check what then
enter before you use it. You wouldn't want them to upload a new copy of
/etc/passwd, for example.

You will also need to make sure that upload_tmp_dir in your php.ini file is
set to a directory writable by the user your web server runs as. (usually
nobody) See:

   http://www.php.net/manual/html/configuration.html

IF you still have questions after reading up on this in the manual, please
direct them to the php-general list.

Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>