Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
printf performancy 11 84
what is the best Integrated development environment 2 35
Create .bat File 16 71
Where to download python requests library 6 61
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This is about my first experience with programming Arduino.
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 …

740 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