script that rotates a linked text daily?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • XXXPaysiteDesign
    Confirmed User
    • Mar 2002
    • 2201

    #1

    script that rotates a linked text daily?

    Anybody have one that I could have?

    ICQ: 102707188
    Email: webmaster at xxxpaysitedesign.com
    SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
  • XXXPaysiteDesign
    Confirmed User
    • Mar 2002
    • 2201

    #2
    One that displays a new link everytime the surfer views the page would be fine too.. from a list in a txt file or something..
    SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

    Comment

    • http
      Confirmed User
      • Oct 2001
      • 1811

      #3
      I was going to recommend "TERND" on the page below, but their site seems to be broken


      http://php.resourceindex.com/Complet...s/Random_Text/

      Comment

      • richard123
        Confirmed User
        • Mar 2001
        • 491

        #4
        Why don't you use the same javascript that the hun and worldsex use and just do it with textlinks instead of banners? Works really well.

        Edit: And all the work is done client side, so it reduces load on your server.
        Last edited by richard123; 07-05-2002, 03:50 PM.

        Comment

        • TFCash
          Confirmed User
          • Apr 2001
          • 1738

          #5
          If you use javascript and they have it turned off, which seems to be more and more folks these days, then you lose out Do you have php on your server ?? If so then you could easily put this at the top of your page.

          put php start tag here
          $day = date(D);
          put php end tag here


          where ever you want the link to appear in your page put this

          put php start tag here
          insert "$day";
          put php end tag here

          and then you need to create the files for each day of the week, and put the actual html for the links in there

          Mon
          Tue
          Wed
          Thu
          Fri
          Sat
          Sun

          ** note caps !!!

          You can do the same thing by the actual date i.e. 01 02 03 04 05 and so on, and have a diff link for all 31 days if you'd like by changing out the $day = date(D); with $day = date(d);


          Then all you have to remember to do is to turn php parsing on for all htm and html files by putting this in your .htaccess

          AddType application/x-httpd-php html
          AddType application/x-httpd-php htm

          email me at webmaster if you have any trouble and I'll try to help you out.


          Tim
          TeenFlood.com Online since 1998.

          TFCash KissMeGirl
          VirginRiches MondoBucks

          tim at tfcash.com or submit a ticket at our HelpDesk

          Comment

          • XXXPaysiteDesign
            Confirmed User
            • Mar 2002
            • 2201

            #6
            I have php but the problem is I'm running TM3 cgi, which won't allow me to name my index anything but index.html

            I know I could do a bunch of iframes but that just gets too messy.
            SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

            Comment

            • TFCash
              Confirmed User
              • Apr 2001
              • 1738

              #7
              You don't have to rename anything You can parse your html files by putting this in your .htaccess

              AddType application/x-httpd-php html
              AddType application/x-httpd-php htm
              TeenFlood.com Online since 1998.

              TFCash KissMeGirl
              VirginRiches MondoBucks

              tim at tfcash.com or submit a ticket at our HelpDesk

              Comment

              Working...