On Wed, 7 Feb 2001 23:53:00 +0200 (EET), Siim Einfeldt aka Itpunk
([EMAIL PROTECTED]) wrote:
>Hi,
>
>I write all my pictures (hotels...travels, etc) to the database. it
>worked, but now I`m not sure what has changed, but now it gives the
>following error:
>Warning: fopen("C:\\art\\cat2.jpg","r") - No such file or
>directory in
>/home/mycatalogue/public_html/mysubcatalogue/hotell.php3 on
>line 19
>
>the cat2.jpg has been chosen through a browse button from my own hdd
>(the
>problem exists wit hall the pictures).
>
>Any ideas what might be wrong?
>
read the manual on handling file uploads. It looks like you're using
$image_name which is the original image name on the client where you
want $image which is the temporary file name on the server. If your
server is running on the machine you access the form from it may look
like things are working right when they aren't.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]