Gallery Rotating script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paul1000
    Confirmed User
    • Aug 2003
    • 181

    #1

    Gallery Rotating script

    This has probably been asked before, but you need a fucking roadmap to find your way through this board's search ... hehehe

    It's easier to just ask again - Does anybody have a decent, easy script to rotate galleries ?

    I mean many sponsors have their own, and that is great, but what about if we want to compile massive lists of different sponsors' galleries, say separated by commas, and then randomize that? I cannot see that being a very difficult script at all ... if it were written in BASIC, I could do it myself, but I am not well versed in PHP or ASP.

    Thanks
    779 (or MORE) to go !! <br>Life is Tough <br>
  • marzzo
    Confirmed User
    • May 2002
    • 2134

    #2
    Save the below as rotate.php and list your galleries one per line as 'gallery_list.txt' - change / to < and >.




    /?
    mt_srand((float)microtime()*1000000);
    $f=file("gallery_list.txt");
    $u=trim($f[mt_rand(0,sizeof($f)-1)]);
    header("Location: $u");
    ?/
    4 5 zero - 2 2 - nine nine nine

    Comment

    • Napolean
      Misanthropic Egalitarian
      • Nov 2002
      • 4330

      #3
      drop me an icq, i probably got exactly what your looking for
      HAH! FOUND IT FRIS

      Comment

      • OzMan84
        Confirmed User
        • Nov 2003
        • 4740

        #4
        or me, ive got something that you may like also
        XferClick - 300,000 UV daily and growing quickly. Majority US, EU, CA and AU traffic. Contact me for more information
        ICQ: 304568058

        Comment

        • Napolean
          Misanthropic Egalitarian
          • Nov 2002
          • 4330

          #5
          yeah but mines much better
          HAH! FOUND IT FRIS

          Comment

          Working...