I'm trying to copy a file to a directory:
$file = "./users/common/male_photo_na.gif";
$to = "./users/dir/";
chmod( $file, 0755);
chmod( $to, 0755);
copy($file, $to);
And I keep getting:
Warning: Unable to create './users/dir/': Permission denied in c:\inetpub\wwwroot\dining\test.php on line 12
what can i do to fix this??? thx...