Need a script for...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MAB
    Registered User
    • Nov 2004
    • 30

    #1

    Need a script for...

    for making random url links, please someone help me
    Last edited by MAB; 11-25-2004, 01:27 PM.
  • Harmon
    ( ͡ʘ╭͜ʖ╮͡ʘ)
    • Mar 2004
    • 20012

    #2
    Originally posted by MAB
    for making a random url links, please someone help me
    [email protected]

    Comment

    • Dynamix
      G F Y not
      • Jan 2004
      • 2910

      #3
      how much are you paying

      TGPFactory Full TGP Design & Installation Services
      ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
      See who I am at AdultWhosWho.com!

      Comment

      • Harmon
        ( ͡ʘ╭͜ʖ╮͡ʘ)
        • Mar 2004
        • 20012

        #4
        Originally posted by Dynamix
        how much are you paying
        He's fromCashVille. Shouldn't even be an issue
        [email protected]

        Comment

        • Dynamix
          G F Y not
          • Jan 2004
          • 2910

          #5
          Originally posted by Harmon
          He's fromCashVille. Shouldn't even be an issue
          I didn't catch that. Nice one

          TGPFactory Full TGP Design & Installation Services
          ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
          See who I am at AdultWhosWho.com!

          Comment

          • Dynamix
            G F Y not
            • Jan 2004
            • 2910

            #6
            Create a PHP file named "urls.php" with the URL's sorted each on its own line. IE:

            Then create a PHP file named random.php with the following contents:

            PHP Code:
            <?PHP
            
            $lines = file("urls.php");
            $total = count($lines);
            
            srand(time());
            $random = (rand()%$total);
            echo $lines[$random];
            
            ?>

            Usage:
            PHP Code:
            <A HREF="random.php">Click here for random link</A> 
            

            You may contact me via the methods below for my PayPal address

            TGPFactory Full TGP Design & Installation Services
            ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
            See who I am at AdultWhosWho.com!

            Comment

            • Dynamix
              G F Y not
              • Jan 2004
              • 2910

              #7
              Why does nobody ever say "thank you" for free fucking work. What the fuck.. I wonder why I even waste my time.


              TGPFactory Full TGP Design & Installation Services
              ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
              See who I am at AdultWhosWho.com!

              Comment

              • Jace
                FBOP Class Of 2013
                • Jan 2004
                • 35562

                #8
                Originally posted by Dynamix
                Why does nobody ever say "thank you" for free fucking work. What the fuck.. I wonder why I even waste my time.

                maybe cause it has only been 10 minutes
                hah

                thank you though, i might use that

                Comment

                • Dynamix
                  G F Y not
                  • Jan 2004
                  • 2910

                  #9
                  Originally posted by JaceXXX
                  maybe cause it has only been 10 minutes
                  hah

                  thank you though, i might use that
                  Ten minutes is a long time on GFY.. just look at how many thousands of members we have posting hundreds of threads.

                  The point remains, it's happened before.. I coded a script for JupZChris for free and I declined the $20 because I don't have Epass and just wanted a few comments. I asked for a little feedback I could throw in my portfolio (about quickness, accuracy, etc.).. never got it.

                  TGPFactory Full TGP Design & Installation Services
                  ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
                  See who I am at AdultWhosWho.com!

                  Comment

                  • MAB
                    Registered User
                    • Nov 2004
                    • 30

                    #10
                    Thx dude

                    Comment

                    • Dynamix
                      G F Y not
                      • Jan 2004
                      • 2910

                      #11
                      Originally posted by MAB
                      Thx dude
                      You rock. If you like you can send positive feedback to [email protected] so that I can use it in my portfolio. Chris never got around to it so I don't expect you to, but it'd be appreciated.

                      TGPFactory Full TGP Design & Installation Services
                      ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
                      See who I am at AdultWhosWho.com!

                      Comment

                      • Dynamix
                        G F Y not
                        • Jan 2004
                        • 2910

                        #12
                        Just noticed a vital error in the script coding. Replace echo() with header() as such:

                        Replace:
                        echo $lines[$random];


                        With:
                        header("Location:" . $lines[$random]);

                        TGPFactory Full TGP Design & Installation Services
                        ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
                        See who I am at AdultWhosWho.com!

                        Comment

                        • MAB
                          Registered User
                          • Nov 2004
                          • 30

                          #13
                          k thx for all

                          Comment

                          • MAB
                            Registered User
                            • Nov 2004
                            • 30

                            #14
                            Not working for me, any other script please?

                            Comment

                            • Young
                              Bland for life
                              • Nov 2004
                              • 10468

                              #15
                              Originally posted by Dynamix
                              Just noticed a vital error in the script coding. Replace echo() with header() as such:

                              Replace:
                              echo $lines[$random];


                              With:
                              header("Location:" . $lines[$random]);
                              Dynamix want to code me a full fledged pic community
                              For a thank you?
                              ★★★

                              Comment

                              Working...