Hi
This is all in a loop in CLI php in XP.
is there a way round this problem (note space in filename before '[' ):
$newfile = '"'.$path_info['filename'] . ' [Compatibility Mode].pdf"';
while (!file_exists($newfile)){
echo "Waiting for file to exist " . $newfile;
}
The file never exists (and it does, after it's created by PDFCreator).
But if I subsitute the value in $newfile, it works, ie
while (!file_exists("abc [Compatibility Mode].pdf")){
exits the loop once abc [Compatibility Mode].pdf is created