Solved

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

Posted on 2003-11-03
5
160 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now