1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP - using all files in a folder

Discussion in 'PHP' started by GSto, May 15, 2008.

  1. #1
    A friend of mine once mentioned that there is a way to go through all the files in a folder, and then use them for something. For example, if you wanted to have a photo gallery on your site, all you would have to do would be drop the files into the /images folder, and the site would automatically put them up. Can someone help me figure out how to do this?
     
    GSto, May 15, 2008 IP
  2. danzor

    danzor Peon

    Messages:
    208
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    danzor, May 15, 2008 IP
  3. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #3
    It is a bit more complicated than that.

    If it is images you want to do there are a lot of free scripts out there that will do the job for you. Idutgallery is one that comes to mind.
     
    Colbyt, May 15, 2008 IP