April 8, 200520 yr comment_403 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 Report
April 8, 200520 yr comment_410 I don't have problems with file upload. Instead of "localhost/pics/", use "/www/pics/" "localhost/pics/" is not a real path but the url. Best Regards Olajide Olaolorun The Uniform Server Development Team Report
April 10, 200520 yr Author comment_426 Instead of "localhost/pics/", use "/www/pics/" "localhost/pics/" is not a real path but the url.410[/snapback] thanks a llllllllllllllllllllott!!!really, i'm very happy for your help. cheers ryo Report
April 10, 200520 yr comment_428 lol no problem Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.