Solved

How to get site map / Directory listing of any particular site using PHP

Posted on 2003-11-03
5
202 Views
Last Modified: 2010-04-17
I have a small problem.
I want to get the Directory Listing of any site URL entered by User. I am using PHP.
I tried for a script traversing all the pages in the site, but its  inefficient and complicated.
Can any one provide me the solution for this.



0
Comment
Question by:kiransnaik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 450 total points
ID: 9676573
you have to use a script to traverse all the links to the site via the web pages since directory listing can be allowed or disallowed if there is no default page. besides this there may be some pages to which there are no links from any other pages these pages cannot be found via this method.
Sorry but you dont have a option here for public sites yes if its your own site then you can set whether you want the directory listing or not.
0
 

Author Comment

by:kiransnaik
ID: 10382756
thanx cleanupping and bhagyht
I will try the same.

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question