Re: file uploads
| From: | Cesar Peregrina | Date: | Tue, 05 Dec 2000 20:43:33 +0000 |
| Subject: | Re: file uploads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28750@lists.php.net to get a copy of this message | ||
What you need is to copy, move , etc. the uploaded file
in the target page
the code in http://www.php.net/manual/features.file-upload.php
was very usefull to me.
But i have another problem, How can i manage multiple uploads
Thanx
"Oplinger, Shawn" wrote:
> Hi,
>
> I am trying to upload files to my apache server using php.
> Here is the code from my php form.
>
> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="2000">
> <INPUT TYPE="FILE" NAME="ImageFile" VALUE="">
>
> The form submits, but then I cannot find the file that I sent anywhere on my
> server.
>
> When I use the phpinfo() function to see what the php environment is set to
> on my server, I notice that the field for the tmp_file_upload directory has
> no value.
>
> DIRECTIVE LOCAL VALUE MASTER VALUE
> upload_max_filesize 2M 2M
> upload_tmp_dir no value no value
> user_dir no value no value
>
> My question is if the upload_tmp_dir directive is set to "no value" as in my
> servers case, where do the files go when they are uploaded? Do they go
> anywhere? Is there some way for me to specify where the files will go to?
> I am on a shared server, and don't know if they will set the value for
> upload_tmp_dir.
>
> Thanks in advance,
> Shawn :)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net