Click to See Complete Forum and Search --> : php dir script


anfpunk
12-13-2002, 10:33 AM
I'm trying to get a php directory listing script working but am having some troubles. The first directory will come up fine, it'll store any directories you click on into the $path variable, but nothign will show up.

Here is the code http://64.53.173.214/test.phps
here is the output http://64.53.173.214/test.php

Grizzly
12-13-2002, 03:24 PM
The logic appears to be fine...which is strange. The only thing I can really say is I'd double-check the permissions on those subdirectories.

bIOHZRd
12-13-2002, 08:43 PM
hehe, damn anfpunk asking questions....

http://blahd.homeip.net/dir.php

and http://blahd.homeip.net/dir.phps

this shows what the perms are for folders and files inside of the /var/www/ directory. You see anything wrong grizz?
http://blahd.homeip.net/perms

andy3109
12-14-2002, 11:07 PM
you have to much money :D . Nice setup though. Instead of taking up room with two monitors, keyboards, and mice, get the adaptor that you can plug only one of each into. Its a switch and all you have to do is press the switch and your over to the other computer. Makes things alot cleaner and saves power ($$) ;)
-andy

anfpunk
12-16-2002, 02:29 AM
php needed the full path for most of the functions like is_file. Now it's working but my dns is down til tuesday prolly since my friend just moved and I have to update the main dns box.

I will never go back to 1 monitor ever again. I love the flexibility of not needed to hit scroll lock or some other key to switch with a kvm. I have too many apps open a lot of the time and like to be able to see everything easily. Though I'll never go to 3 monitors anytime soon.:o) I'd prolly get a kvm then.