Jump to content

file_exists


westman

Recommended Posts

hi all,

I am using file_exists not for files but to see if a folder exists

here is my code...

 

if (file_exists("../$folder_name")) {$mes = 'here';}else{$mes = 'not here';}

again I am looking for folders and my code is not working, any help?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...