Help me Please: problem with random video in php script

Discussion in 'PHP' started by rentabilisez, Sep 22, 2009.

  1. #1
    Hello,
    I have a redtube script for adult videos: xkeez.com
    would like to have the videos go from: A to Z in loop, no duplicate, when clicked on the link.
    videos numbers are in a .txt file
    what will be the php code for this. I'm not a php programmer, but have some knowledge of html.
    Thank you for your help.
    regards,
     
    rentabilisez, Sep 22, 2009 IP
  2. rentabilisez

    rentabilisez Well-Known Member

    Messages:
    101
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #2
    Hello,
    I have a redtube script for adult videos: xkeez.com
    would like to have the videos go from: A to Z in loop, no duplicate, when clicked on a link.
    videos numbers are in a .txt file

    > The php code is:
    $videos = file("videos numbers.txt"); // file with redtube numbers (1 to X)
    shuffle($videos);

    - How would you write this so one would have the videos go from: 1 to X in loop, no duplicate, when clicked on a link.
    Thank you for your help
     
    rentabilisez, Sep 23, 2009 IP
  3. rentabilisez

    rentabilisez Well-Known Member

    Messages:
    101
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Done.
    Please close.
     
    rentabilisez, Sep 24, 2009 IP