OnLine Gallery

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 9
Joined: Wed Nov 09, 2005 4:53 am

Wed Nov 30, 2005 5:15 am

HI all,

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..)


Heres a link to my page 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..?

Any help

User avatar
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Wed Nov 30, 2005 4:03 pm

ok this might be way over your head but here is a tutorial for nested tree heirachy which is essentially what you want to do/use ... index.html

Post Reply