Hello everyone
The following lines should upload a pic to a server's directory.
$picname = $CountNum.".jpg";
$pic_file = $HTTP_POST_VARS['pic_file']['name'] ;
$the_path = "/i/";
copy($pic_file, $the_path.$picname);
For some reason it returns a warning:
Warning: Unable to open 'C' for reading: No such file or directory in c:\mysites\bookstore\admin\index.php on line 217
What could be wrong?
Thanks for your help.