My lost little script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grudgeman
    Registered User
    • Jan 2007
    • 69

    #1

    My lost little script

    lets say if i put the word asslicker on my site with one link code when someone clicks on it it would radom pull from a list of gallerys you could click same link 5000 times and allways go some where else i had a little script that did that but cant find it help
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55697

    #2
    Originally posted by grudgeman
    lets say if i put the word asslicker on my site with one link code when someone clicks on it it would radom pull from a list of gallerys you could click same link 5000 times and allways go some where else i had a little script that did that but cant find it help
    $file = "anal.txt";
    $fp = file($file);
    srand((double)microtime()*1000000);
    $urls = $fp[array_rand($fp)];
    header("Location: $urls");

    add galleries one per line in anal.txt
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • Lycanthrope
      Confirmed User
      • Jan 2004
      • 4517

      #3
      Sounds like it was ATO's Gallery Admin. Great script.

      Site is gone and Tue is MIA

      Comment

      • grudgeman
        Registered User
        • Jan 2007
        • 69

        #4
        How would i set that up in my server

        Comment

        • MicDoohan
          Confirmed User
          • Apr 2003
          • 791

          #5
          put the code he has provided in a file called random.php and then link to that

          put your gallery links in the file anal.txt or rename to suit your needs

          Comment

          • grudgeman
            Registered User
            • Jan 2007
            • 69

            #6
            kool i was thinking thats what it was been long time thanks

            Comment

            • billybathgate
              Confirmed User
              • Jan 2007
              • 483

              #7
              Originally posted by Fris
              $file = "anal.txt";
              $fp = file($file);
              srand((double)microtime()*1000000);
              $urls = $fp[array_rand($fp)];
              header("Location: $urls");

              add galleries one per line in anal.txt
              copy paste save as

              thanks fris
              ""

              Comment

              • grudgeman
                Registered User
                • Jan 2007
                • 69

                #8
                does it need to be in my cgi-bin

                Comment

                • woj
                  <&(©¿©)&>
                  • Jul 2002
                  • 47882

                  #9
                  Originally posted by grudgeman
                  does it need to be in my cgi-bin
                  no........
                  Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                  Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                  Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                  Comment

                  • grudgeman
                    Registered User
                    • Jan 2007
                    • 69

                    #10
                    i took the script and put in a text uploaded it and renamed it to random.php
                    put some gallerys in anal.txt still not working dam dam dam

                    Comment

                    • fris
                      Too lazy to set a custom title
                      • Aug 2002
                      • 55697

                      #11
                      need to add

                      <?

                      code

                      ?>
                      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                      Comment

                      Working...