Re: [PHP] Upload not working...

2004-09-08 Thread Deependra b. Tandukar
Yes, this is what is missed: enctype="multipart/form-data" Thanks ! DT At 11:20 AM 9/8/2004 +0600, raditha dissanayake wrote: Deependra b. Tandukar wrote: I tried this form to upload a file. ... This very code works in my home computer. I tried this with my local server at my office and my web se

Re: [PHP] Upload not working...

2004-09-07 Thread zareef ahmed
--- "Deependra b. Tandukar" <[EMAIL PROTECTED]> wrote: > I tried this form to upload a file. > > > > Untitled Document > > > > > you should define enctype > > > > > > > > with the following code: > > copy($userfile, > "/var/www/html/upload/data/$userfile_name"); > unlink($user

Re: [PHP] Upload not working...

2004-09-07 Thread raditha dissanayake
Deependra b. Tandukar wrote: I tried this form to upload a file. ... This very code works in my home computer. I tried this with my local server at my office and my web server, both give the same message what is the wrong with it. Suprised that it worked at all the shouldbe : enctype="multipar

[PHP] Upload not working...

2004-09-07 Thread Deependra b. Tandukar
I tried this form to upload a file. Untitled Document with the following code: and am getting the message "Warning: Unable to open '\"C:\\Documents and Settings\\Administrator\\Desktop\\photos\\IMAGE0099.JPG\"' for reading: No such file or directory in /var/www/html/ICIweb/php/upload.