I can't use the rename() command, apparently that fails in WinXP. So how do you do it in PHP?
Right now I'm using:
$msg = exec("move /Y \"" . $_SERVER['DOCUMENT_ROOT'] . "/tools/app/include/file1.jpg\" \"" . $_SERVER['DOCUMENT_ROOT'] . "/tools/app/include/filenew1.jpg\"");
No errors, no warnings, no notices, just a file not ever named and an Apache error log "The system could not find the file specified", even though I clearly see file1.jpg in my directory unchanged.
So what do I do?
Thanx
Phil