Jump to content

How photobucket works?


play_

Recommended Posts

So I'm making my own little picture hosting site here, and decided to look @ photobucket as an example.

It's fairly simple until it comes to 'sub albums'.

 

Take this photobucket url for instance:

http://smg.photobucket.com/albums/v425/MyUserName/vacations/Florida/

 

okay so when you login, you are at:

http://smg.photobucket.com/albums/v425/MyUserName/

which is your main album.

 

So i then navigate from my main album to my sub album 'vacations' and the url becomes:

http://smg.photobucket.com/albums/v425/MyUserName/vacations/

 

Now notice how as you navigate through your sub albums, the URL format is just like a regular directory hierarchy.

 

It's as is everytime you create an album, an index file is placed in it.

 

So my question is, any idea of how that's being done?

I thought maybe mod_rewrite but doesn't look like so.

 

Link to comment
https://forums.phpfreaks.com/topic/80840-how-photobucket-works/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.