I try to Upload file from my computer to my site using this code
copy ("C:\WINDOWS\Desktop\khaled.gif","/image/khaled.gif");
but it does not work
is there any error in code ??
Printable View
I try to Upload file from my computer to my site using this code
copy ("C:\WINDOWS\Desktop\khaled.gif","/image/khaled.gif");
but it does not work
is there any error in code ??
yes there is. you can't do that.
look at my site for a snippet on how to upload under php.