dave wrote:[color=blue]
> I'm trying to get the below script working, adapted from the manual on
> php.net. Although i am getting success file uploading, i do not see the file
> in the tempoary area.[/color]
PHP automatically removes the uploaded file from the temporary directory
when the script ends. You have to put the file somewhere else while you
have control over it.
[color=blue]
> And i'm not sure where to go as the server confirms
> file uploaded successfully. Any help appreciated.[/color]
[color=blue]
><?php
>
> if (count($_FILES))
> {
> var_dump($_FILES) ;
> }
>
> if (is_uploaded_file($_FILES['UploadFile']['tmp_name']))
> {[/color]
See these links:
http://www.php.net/move_uploaded_file http://www.php.net/manual/en/features.file-upload.php
[color=blue]
> print "<h3>File successfully uploaded.</h3>" ;
> print "<a href=\"{$_SERVER['PHP_SELF']}\">Upload Another?<br>" ;
> }[/color]
<snip>
--
Mail to my "From:" address is readable by all at
http://www.dodgeit.com/
== ** ## !! ------------------------------------------------ !! ## ** ==
TEXT-ONLY mail to the whole "Reply-To:" address ("My Name" <my@address>)
may bypass my spam filter. If it does, I may reply from another address!