|
Posted by David Grant on 11/22/05 16:58
Graham,
Is safe mode enabled in your config file? If safe mode is on, PHP will
check the file to ensure it is owned by the same user executing the
script. If this condition fails, file_exists() will not work on the file.
http://php.net/file_exists
http://php.net/manual/en/features.safe-mode.php
Cheers,
David Grant
Graham Cossey wrote:
> [snip]
>> Make sure to always hit reply-all, or the e-mail will not go back to the
>> list.
>
> Yep, realised that after hitting 'send'. :-(
>
>> If file exists is looking for an associated files is it probable that the
>> .mpg files do not have one associated with it in the other directory?
>
> It is probable, that's why the check is there, but in this case the
> associated file(s) definitely does exist. If I simply change the file
> extensions from mpg to avi the script works.
>
>
> --
> Graham
>
Navigation:
[Reply to this message]
|