thank you, I solved my problem creating my own code. But now i need the name of a variable `$something` that contains the name of the folder with the photos.
eg: suppose my photos are in `http://www.mysite.com/zengallery/albums/foldername_i_need`, I need the name of the folder `foldername_i_need`. How can I get it with php code? (I don't care about further subfolders)