At 13:59 18.02.2003, DIKSHA NEEL said: --------------------[snip]-------------------- >hi all, > >the file permission command is not working. >any idea why? > >$filename = '\bdoi_change\andar.html'; > >printf("%0",(fileperms("\bdoi_change\andar.html") & 0777)); --------------------[snip]--------------------
You need to use either forward slashes or double backslashes in file names: Either "\\bdoi_change\\andar.html" or "/bdoi_change/andar.html" Both will work regardless of the operating system you are using (*nix, windoze, or Mac) -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php