Hi,
The problem I am having is that I want to check whether a file exists before using it in an includes(). I have had a look through previous postings and have tried using the is_file function but it didn't work.
The file I am trying to include/check if exists is located on a different server from my php page and I read that is_file does not work with files located remotely.
eg. current page: [url]http://www.abc.com/base.php[/url]
including: [url]http://www.zyx.com/includeme.php[/url]
My question is, is it possible to use the is_file function to check whether the file exists in this scenario, and, if not, is there an alternative way of checking if the file exists?
Hope that made sense :>
Marc