Re: download of an Iamge
| From: | php4 at developersdesk dot com | Date: | Wed, 13 Sep 2000 13:09:13 +0000 |
| Subject: | Re: download of an Iamge | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33208@lists.php.net to get a copy of this message | ||
Addressed to: Manuele Ferraro <Manuele@geckonetwork.it>
php-dev@lists.php.net
** Reply to note from Manuele Ferraro <Manuele@geckonetwork.it> 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@lists.php.net.
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