Re: FileExists?
| From: | M | Date: | Mon, 07 Nov 2005 22:29:28 +0000 |
| Subject: | Re: FileExists? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225256@lists.php.net to get a copy of this message | ||
Gustav Wiberg wrote:
Hi there! File_exists doesn't seem to work with URLs that point to another domain. What to use? $x = fopen(http://www.stammis.com/getstart.php); if file_exists($x) .... .... ????file_exists() takes filename as parameter, not file pointer. besides, spare the one http request and use @fopen() (@ will suppress eventual warning), it will speed up your script.