NYCPHP Meetup

NYPHP.org

[nycphp-talk] file_exists()

Kenneth Downs ken at secdat.com
Sat Jan 7 19:13:32 EST 2006


Think file_exists() only searches the directory from which execution
began, not necessarily the directory of the current script or the include
path.

There are a few extra routines in the online docs that provide extended
versions of file_exists.

> Guys,
>
> I have linked directory in my base directory and i have tried the physical
> path to the files too, however file_exists always returns false.
>
> if i ls the dir and grep for the filename it is there
>
> any ideas why this would happen?
>
> --
> Joseph Crawford Jr.
> Zend Certified Engineer
> Codebowl Solutions, Inc.
> 1-802-671-2021
> codebowl at gmail.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org


-- 
Kenneth Downs
Secure Data Software
631-379-0010
ken at secdat.com
PO Box 708
East Setauket, NY 11733




More information about the talk mailing list