I'm trying to move some pics from a folder called /tmp to a folder called /photos.
I've stored the image filename in:
The code i'm using is the following:
but i get the following error:
Warning: rename(tmp/,photos/) [function.rename]: File exists in C:\wamp\www\site.com\v3\control.php on line 69
When i alter my code and instead of the SESSION variable i use the actual filename.jpg, everything works smoothly!