note 1429 modified in fopen by ronabop

From: Date: Mon, 11 Sep 2000 03:58:05 +0000
Subject: note 1429 modified in fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4698@lists.php.net to get a copy of this message
file_exists() does not support URL open. use fopen() for checking file existance, for example, if( !($fp = fopen("http://csone.kaist.ac.kr/~chopin/", "r")) ){ echo "URL open error\n"; } else { echo "URL exists\n" } http://www.php.net/manual/function.fopen.php

« previous php.notes (#4698) next »