docock
06-20-2010, 07:31 PM
So why doesn't this rename work?
rename('../mdwgold/scripts/origineel.jpg','../mdwpictures/gpfmottenPic102236.jpg');
All I'm getting is an error saying: no such file or directory
I've also tried the line without quotes like this:
rename(../mdwgold/scripts/origineel.jpg,../mdwpictures/gpfmottenPic102236.jpg);
but it gives me the same error.
The directories do exist and are chmodded to 777.
So what's wrong with my code, or what's going on here?
rename('../mdwgold/scripts/origineel.jpg','../mdwpictures/gpfmottenPic102236.jpg');
All I'm getting is an error saying: no such file or directory
I've also tried the line without quotes like this:
rename(../mdwgold/scripts/origineel.jpg,../mdwpictures/gpfmottenPic102236.jpg);
but it gives me the same error.
The directories do exist and are chmodded to 777.
So what's wrong with my code, or what's going on here?