Php coding for my site

Discussion in 'PHP' started by deepmob, Sep 10, 2008.

  1. #1
    Hi there, I got a image hosting scipt,

    I want to do some editing on this script

    the site is http://adult.adultsector.net

    you can see the following image and you will come to know what I want

    [​IMG]

    i had show the place,

    I need 4 frames which show the thumnails randome images so that when ever anyone click them its open that images,

    is it possible,

    can anybody help me in doing this
     
    deepmob, Sep 10, 2008 IP
  2. alvas

    alvas Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    do you have image list stored in a database or in a file?
     
    alvas, Sep 10, 2008 IP
  3. deepmob

    deepmob Well-Known Member

    Messages:
    128
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    yes i have in mysql database, and images are stored in file manager system
     
    deepmob, Sep 10, 2008 IP
  4. deepmob

    deepmob Well-Known Member

    Messages:
    128
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #4
    I am using this script Mihalism Multi Host. now the home page of the script is down, so i can't get support form there.

    thanks
     
    deepmob, Sep 10, 2008 IP
  5. alvas

    alvas Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if the image list is stored in database then you can just select random row from the table, something like this :

    select * from YOUR_TABLE order by rand() limit 0,4

    or look at this site http://www.greggdev.com/web/articles.php?id=6
     
    alvas, Sep 10, 2008 IP