Need a very basic sitemap in php for my site.

Discussion in 'PHP' started by netmaster123, Jul 31, 2007.

  1. #1
    I am looking for a way in php to generate a page called sitemap.php, basically this file needs to display avery file that is on my current server, images, folders, etc from the root.

    I tried using php includes *.* but this does not work.

    Can anyone help with this. :confused:
     
    netmaster123, Jul 31, 2007 IP
  2. timelf123

    timelf123 Peon

    Messages:
    897
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    like you were viewing the folder in an ftp? i dont quite understand what you need
     
    timelf123, Jul 31, 2007 IP
  3. netmaster123

    netmaster123 Well-Known Member

    Messages:
    1,852
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Yes something like that, this is actually for seo purposes, I want every single page, image, directory to be indexed.

    I need to be able to display everything that is on my server in a .php file, I already have the template using php includes I just need to figure out how to make a link to all the files on my server.
     
    netmaster123, Jul 31, 2007 IP