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
--- "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
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
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.
4 matches
Mail list logo