hello, i'm attempting to copy a file from its original location to a new folder ...
$oldfile = "files/adamsCampbells.swf"; $newfile = "photos/adamsCampbells.swf"; $test = copy($oldfile, $newfile); however, in doing so, i'm encountering some problems: Warning: Unable to create 'adamsCampbells.swf': Permission denied i've been trying to change permissions so that i can copy the file, but i'm encountering some errors chmod ("files", 0777); Badly placed ()'s. does anybody recognize any problems with my approach or have any advice? dnke, jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php