Candrias77
04-03-2003, 03:40 AM
I am new to the copy() command and need a hand.
I have a line of code like this:
<? copy('../movies/movieTemplate.php','../movies/$filename'); ?>
I get an error back like:
Unable to open '../movies/movieTemplate.php' for reading: No such file or directory
I thought that perhpas php (or atleast the copy command) does not recognise the ../ to move it back a directory, if so what do I use :confused:
I have a line of code like this:
<? copy('../movies/movieTemplate.php','../movies/$filename'); ?>
I get an error back like:
Unable to open '../movies/movieTemplate.php' for reading: No such file or directory
I thought that perhpas php (or atleast the copy command) does not recognise the ../ to move it back a directory, if so what do I use :confused: