note 9403 added to is_dir

From: Date: Wed, 01 Nov 2000 17:19:05 +0000
Subject: note 9403 added to is_dir
Groups: php.notes 
Request: Send a blank email to php-notes+get-7243@lists.php.net to get a copy of this message
I assume that is_dir, is_file, and is_link only work on local directories. I tried the following statement block and none of them returned true. if (is_dir("http://www.integretechpub.com/examples")) print ("http://www.integretechpub.com/examples is a DIR<BR>\n"); else if (is_file("http://www.integretechpub.com/examples")) print ("http://www.integretechpub.com/examples is a FILE<BR>\n"); else if (is_link("http://www.integretechpub.com/examples")) print ("http://www.integretechpub.com/examples is a LINK<BR>\n"); http://www.php.net/manual/function.is-dir.php

« previous php.notes (#7243) next »