EDIT: I decided on using a different solution, my idea wouldn't have worked as far as I can tell.
Well. Each user has their own folder on my server, and each folder contains an index.php. It's the only web file there, then there are images and thumbnails. I was hoping that I could easily use the htaccess file to redirect for me.
So instead of having it like
http://radgh.com/gallery/RadGH
I could use
http://radgh.com/gallery?User=RadGH
Then the folders would only contain images and thumbnails. I thought that was the easiest way, but have been searching... and it looks like I was wrong.
I have been working on it though, I got the gallery/index.php to work with $_GET. Now I can either replace every user's index.php with a redirect, or... well, thats the only possibility. I'll just make a script to recurse into each folder and change the index.php. Permissions are already set anyway.
...Actually, thinking about it, I wouldn't get an error page if they have an index.php. I just don't know enough about the .htaccess I guess. Other than I can protect a folder and set up a custom 404 page
Last edited by RadGH; 11-17-2009 at 04:50 AM..
|