Very new to PHP and have had lots of help from you guys so far but I'm really stuck here. I have created an online gallery app for my web site. It all works fine but.....
The system was only designed to work with 1 level. If you add a sub folder all you see is an "image" or picture of the folder
I added some new functionality to it so other users can log in and upload images to their folder and show their friends as well. If you log in as them it only shows you their gallery. No problem.
When I log in as me I see all the folders but as it only goes one level down I can't get into their folders unless I log in as them. I gues what I'm after is to modify my code to do recursive folder listing. (ie if its a image, show the image, If its a folder allow me to click into that folder and run again..)
BUT I'M STUCK.
Heres a link to my page http://www.comports.net/pics/index2.php
Password is ash but please don't delete anything..!
First few are ok as they are my folders but John and Jim are others. Spot the problem..?