Anyone know of a PHP script that does this?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CCdoug
    Confirmed User
    • Feb 2003
    • 1390

    #1

    Anyone know of a PHP script that does this?

    I need a script that basically pull a certain amount of links from a flat file or db which can be included in a tgp.

    It can't be random links, it needs to read:

    On day 1 - > links 1-20
    On day 2 - > links 21-40

    etc. etc. until it hits the end, then goes back, and starts again.

    I've looked everywhere but found nadda. Anyone seen something like this?
  • WebTitan
    Confirmed User
    • Mar 2003
    • 5114

    #2
    no but i have a contact that can write one for you

    hit me up here and i can put you in touch with him

    www.buildporn.com

    Comment

    • Stud Money
      So Fucking Banned
      • Sep 2003
      • 3214

      #3
      Yes,

      email [email protected] for an example url.

      Comment

      • 4Pics
        Confirmed User
        • Dec 2001
        • 7952

        #4
        not very difficult but nothing free will do that

        Comment

        • Alky
          Confirmed User
          • Apr 2002
          • 5651

          #5
          PHP Code:
          $num_of_gals = 10;
          $day = date("d");
          $max = $day * $num_of_gals;
          $min = ($max - ($num_of_gals - 1)); 
          
          then do some kind of query like:

          PHP Code:
          mysql_query("select * from TABLE where id >= $min && id<= $max"); 
          
          of course your going to have to do a little bit more with the mysql, error trapping it and whatnot.

          that should work though as far as just getting days from a database, based on the id's of the galleries in the table.

          im a little hungover, so if im wrong, oh well.

          Comment

          • CCdoug
            Confirmed User
            • Feb 2003
            • 1390

            #6
            Yeah maybe but, 'free' is more convenient

            I just figured that with all of the script sites et al on the web that maybe something like this could possibly be available.

            I'll probably just buy something custom from Nibbi in the end.

            Comment

            • swedguy
              Confirmed User
              • Jan 2002
              • 7981

              #7
              Originally posted by CrazyJ
              Yeah maybe but, 'free' is more convenient
              Just like free porn?

              Comment

              Working...