Page 1 of 1

PHP - is_dir() - Cant get to work

Posted: Sat Feb 14, 2009 9:25 pm
by handell
I cannot seem to get the directory of 'http://curfer.com/resume' to read back true.
What am I doing wrong here.
var_dump(is_dir('http://curfer.com/resume/'));

Re: PHP - is_dir() - Cant get to work

Posted: Sat Feb 14, 2009 9:46 pm
by Chris Corbyn
is_dir() does not work on http resources. It only works for filesystem resources.

Re: PHP - is_dir() - Cant get to work

Posted: Sat Feb 14, 2009 9:47 pm
by Chris Corbyn
:arrow: Moved to PHP Code