Rotational gallery Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MOxxx
    Confirmed User
    • Oct 2005
    • 3022

    #1

    Rotational gallery Script

    I am looking for a free rotational Gallery Script.

    Any suggestion?
    Increase revenue and maximize your business potential by translating your website with a partner who truly understands your industry! For more information about X-Rated Translations visit https://www.xratedtranslations.com
  • Evil1
    Confirmed User
    • Mar 2002
    • 3893

    #2
    I suggest php, 10 lines of code and a text file and you are all set.

    Comment

    • grumpy
      Too lazy to set a custom title
      • Jan 2002
      • 9870

      #3
      Originally posted by Evil1
      I suggest php, 10 lines of code and a text file and you are all set.
      or 10 lines in java
      Don't let greediness blur your vision | You gotta let some shit slide
      icq - 441-456-888

      Comment

      • donnie
        Confirmed User
        • Jan 2003
        • 1630

        #4
        Originally posted by Evil1
        I suggest php, 10 lines of code and a text file and you are all set.
        <?
        $delim = "\n";
        $cryfile = "filename.txt";
        $fp = fopen($cryfile, "r");
        $contents = fread($fp, filesize($cryfile));
        $cry_arr = explode($delim,$contents);
        fclose($fp);
        srand((double)microtime()*1000000);
        $cry_index = (rand(1, sizeof($cry_arr)) - 1);
        $herecry = $cry_arr[$cry_index];
        echo $herecry;
        ?>

        That will do it

        Comment

        • MOxxx
          Confirmed User
          • Oct 2005
          • 3022

          #5
          Thanks guys!
          Increase revenue and maximize your business potential by translating your website with a partner who truly understands your industry! For more information about X-Rated Translations visit https://www.xratedtranslations.com

          Comment

          Working...