ryosax Posted April 8, 2005 Report Share Posted April 8, 2005 hi guys,i run uniform server smoothly. everything goes well, i think it's a great release, but i'm having seriuos problems with file upload.i'm running in local with uniform server a small CMS written by me.averything is ok but file uploading: i receive an error message like this: "Warning: copy(localhost/pics/studio_af_Pict0002.JPG) [function.copy]: failed to open stream: No such file or directory in W:\www\admin\nuploadpic.php on line 33- C:\WINDOWS\Temp\phpAF.tmp - localhost/pics/image.JPG" nuploadpic.php is like this: $cfg[pics_path] = "localhost/pics/"; $path_p1 = $cfg[pics_path] . $i_p1_name; $path_p1n = $cfg[pics_path] . $n_p1_name; copy("$n_p1", "$path_p1n") or die(mysql_error() . " - " . $n_p1 . " - " . $path_p1n); where $n_p1 is the variable containing the image in the upload html form. any help? thanks in advance ryo Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.