Link Rotaror Script Needed.

Discussion in 'Scripts' started by IndianMonk, Nov 18, 2007.

  1. #1
    Hi,
    I want a script which will rotate several links on single image. Image will be static but links will be changed after every reload. Pls help me..Is there anything available ? Thanx in advance.
     
    IndianMonk, Nov 18, 2007 IP
  2. deccanbazaar.biz

    deccanbazaar.biz Banned

    Messages:
    2,349
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ok here are the list of url rotator scripts php

    FEATURES:

    Start a url redirctor script just the visitos have to insert long urls to be created short. once the url is short they can postit or email it to there freinds and they can view the same page which the long url takes to in short it just rerdirects the url making it short.

    Automatically sets short url's for your members
    Admin Delete/View Members URLs
    REVENUE DETAILS :

    Use the url redirection site to get others to advertise your domain and sell advertise off your site.

    Readmore by clicking here
     
    deccanbazaar.biz, Nov 18, 2007 IP
  3. IndianMonk

    IndianMonk Notable Member

    Messages:
    2,666
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    225
    #3
    I m looking for free script..not paid one. Thanx.
     
    IndianMonk, Nov 18, 2007 IP
  4. themasterinc

    themasterinc Banned

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4

    <?

    $links[0] = array("http://www.somesite0.com", "SomeSiteText0");
    $links[1] = array("http://www.somesite1.com", "SomeSiteText1");
    $links[2] = array("http://www.somesite2.com", "SomeSiteText2");
    $links[3] = array("http://www.somesite3.com", "SomeSiteText3");
    $links[4] = array("http://www.somesite4.com", "SomeSiteText4");
    $links[5] = array("http://www.somesite5.com", "SomeSiteText5");

    shuffle($links);

    $linkstoshow = 3;

    for($i=0; $i<$linkstoshow; $i++)
    {
    echo("<a href='" . $links[$i][0] . "'>" . $links[$i][1] . "</a><br />");
    }


    ?>


    Please give reputation =)
     
    themasterinc, Nov 19, 2007 IP
  5. IndianMonk

    IndianMonk Notable Member

    Messages:
    2,666
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    225
    #5
    How to use this in a single image?
     
    IndianMonk, Nov 19, 2007 IP
  6. themasterinc

    themasterinc Banned

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6



    <?

    $links[0] = array("http://www.somesite0.com", "SomeSiteText0");
    $links[1] = array("http://www.somesite1.com", "SomeSiteText1");
    $links[2] = array("http://www.somesite2.com", "SomeSiteText2");
    $links[3] = array("http://www.somesite3.com", "SomeSiteText3");
    $links[4] = array("http://www.somesite4.com", "SomeSiteText4");
    $links[5] = array("http://www.somesite5.com", "SomeSiteText5");

    shuffle($links);

    $linkstoshow = 1;

    for($i=0; $i<$linkstoshow; $i++)
    {
    echo("<a href='" . $links[$i][0] . "'><img border=\"0\" src=\"http://i171.photobucket.com/albums/u299/ikayq/167lcid.jpg\" alt=" . $links[$i][1] . "></a>
    ");
    }





    ?>



    Change the link image for his image


    http://i171.photobucket.com/albums/u299/ikayq/167lcid.jpg


    I hope that is what you want do not understand English :) :) :) :)
     
    themasterinc, Nov 20, 2007 IP
    IndianMonk likes this.
  7. IndianMonk

    IndianMonk Notable Member

    Messages:
    2,666
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    225
    #7
    IndianMonk, Nov 20, 2007 IP
  8. themasterinc

    themasterinc Banned

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8




    <?

    $links[0] = array("http://www.somesite0.com", "SomeSiteText0");
    $links[1] = array("http://www.somesite1.com", "SomeSiteText1");
    $links[2] = array("http://www.somesite2.com", "SomeSiteText2");
    $links[3] = array("http://www.somesite3.com", "SomeSiteText3");
    $links[4] = array("http://www.somesite4.com", "SomeSiteText4");
    $links[5] = array("http://www.somesite5.com", "SomeSiteText5");

    shuffle($links);

    $linkstoshow = 1;

    for($i=0; $i<$linkstoshow; $i++)
    {



    header("Location: ". $links[$i][0]. " ");
    }





    ?>



    out.php


    <a href="out.php"><img src="http://www.google.com.co/intl/en_com/images/logo_plain.png" width="276" height="110" /></a>
     
    themasterinc, Nov 21, 2007 IP
  9. IndianMonk

    IndianMonk Notable Member

    Messages:
    2,666
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    225
    #9
    Not working..giving error.
     
    IndianMonk, Nov 21, 2007 IP
  10. themasterinc

    themasterinc Banned

    Messages:
    216
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    example

    http://www.buscamp3ya.com/out.php



    code



    <?

    $links[0] = array("http://www.somesite0.com", "SomeSiteText0");
    $links[1] = array("http://www.somesite1.com", "SomeSiteText1");
    $links[2] = array("http://www.somesite2.com", "SomeSiteText2");
    $links[3] = array("http://www.somesite3.com", "SomeSiteText3");
    $links[4] = array("http://www.somesite4.com", "SomeSiteText4");
    $links[5] = array("http://www.somesite5.com", "SomeSiteText5");

    shuffle($links);

    $linkstoshow = 1;

    for($i=0; $i<$linkstoshow; $i++)
    {



    header("Location: ". $links[$i][0]. " ");
    }





    ?>
     
    themasterinc, Nov 21, 2007 IP
  11. IndianMonk

    IndianMonk Notable Member

    Messages:
    2,666
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    225
    #11
    Nice...working like a charm...Thanx dude 4 spending so much time on that noob.
     
    IndianMonk, Nov 21, 2007 IP