i am trying to move a file with the following code:
$f = 'image.jpeg';
$source ='/Waiting/$f';
$destination = '/Excepted/$f';
copy($source, $destination) or die("Error 1");
However I get this error every time:
Warning: copy(Waiting/$f) [function.copy]: failed to open stream: No such file or directory in C:\xampp\htdocs\gallery\v2\excepted.php on line 13
I realize it is because there is no file but it is not picking up the variables.