
April 10th, 2000, 01:40 PM
|
|
Contributing User
|
|
Join Date: Feb 2000
Posts: 38
Time spent in forums: < 1 sec
Reputation Power: 9
|
|
|
im working on a file-listing PHP script and i have run into a bit of a snag....
i'm trying to identify the directories from the regular files so i can do something special with them, but all of the functions that i have tried arent working because the "nobody" user that PHP scripts run as doesnt have the permissions to view the attributes for each thing in the list (obviously). I know that i could just set them all to read access for everyone, but it would be easier if i could just find a PHP solution. I've tried filetype(), stat(), and even is_dir(). Any other ideas?
|