|
|
 |
Re: FN-FORUM php upload problem
date posted 28th June 2002 16:50
sounds like the receiving program is trying to access the file directly
on the client machine whereas it should be getting it from it's own
temp directly - you need to use $HTTP_POST_FILES['varname']['tmp_name'].
have you read http://www.php.net/manual/en/features.file-upload.php
thoroughly?
Tim Ward
www.chessish.com
> on uploading an image using the following script, I get:-
>
> Warning: Unable to open
> 'C:\Web\Bolton_Arena_Local\468x60banner3.gif' for reading: No such
> file or directory in
> /usr/home/visitbolton/admin/visit-bolton/accomm/insert2.php on line 30
>
> any ideas?
>
> the copy script is:-
>
> $dir=str_replace(" ","", $name);
>
> copy ($photo, "$dir/1") or die(" background=../../../Images/background.gif text=#000000> face=Arial, Helvetica, sans-serif size=2>The file you are trying to
> upload couldn't be copied to the server as it already exists click
> here to return to menu and try
> again");
>
> tia!
>
> Robin Garbutt
> Portfolio Art & Design Ltd
|
 |
|