mardi 3 janvier 2017

is_dir and is_file not working with path from root

im using scandir() to check a directories files ,it works correctly with path from root like /dir1/dir2/.... (the dir1 isn't behind my .php file its a folder in root )

but when using is_dir and is_file on the same path it outputs false result

how can I fix this?




Aucun commentaire:

Enregistrer un commentaire