I was wondering if anyone could help me... I am new to php but this is what I have....
I have an upload script with this code in it:
if ($superdat_name != "") {
copy("$superdat", "/uploads/images/.") or
die("ERROR uploading");
When I execute the php I get this error:
Warning: Unable to create '/uploads/images/.': No such file or directory in /web/ninthfil/public_html/uploads/images/do_upload.php on line 27
Which line 27 is:
copy("$superdat", "/uploads/images/.") or
I put these php files in the /uploads/images/ directory so people can upload their printscreens and etc.
Can anyone help me figure out what I am doing wrong?
Thanks,
Eric M.