safee Posted August 29, 2009 Share Posted August 29, 2009 Hi, I am novice PHP programmer. I need to find whether a file is in a certain directory or not. Is there any builtin function to check this. Suppose I want to check whether "isset.php" file is in test directory or not. How can I do this. I would be very much happy if some one help me to figure it out. Link to comment https://forums.phpfreaks.com/topic/172394-function-for-check-file/ Share on other sites More sharing options...
ldb358 Posted August 29, 2009 Share Posted August 29, 2009 file_exists($filename); Link to comment https://forums.phpfreaks.com/topic/172394-function-for-check-file/#findComment-908925 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.