From: Douglas E. M. <do...@ke...> - 2003-06-02 00:46:31
|
On Sun, 01 Jun 2003 18:25:58 -0600, Ashley M. Kirchner <as...@pc...> wrote: While we are on the feature bandwagon as well, I would make one other feature request that I found myself thumping my head about the other night, the ability to independantly password protect albums. If I could do that I would be much more eager to have one big IDS album rather than a bunch of small ones that I control with .htaccess files. If someone has a better way to do this as well I would love to hear about it. Doug > Jeff Macdonald wrote: > >> One thing that puzzles me is the following code that checks the album >> paths: >> $newalbumname =~ s/^[\.]+|\///g; # hax0r protection... >> >> The end result is that ANY / is removed from the album name! That just >> doesn't seem right. >> >> > Why not? You can't have an album name that has /'s in it anyway, so may > as well remove all of them. > >> My current code adds a link to an album page that says 'Remove this >> album'. It then will remove all the files and the album and then display >> that album's parent. >> >> > How easy is it to incorporate album hiding with this code as well? The > more we can re-use code, the better. > |