Solved

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

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

Independent Software Vendors: 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
What are programming codes and how do they work? 7 119
Query Syntax 17 66
Eclipse Java import and method not resolved 4 141
collection output issue 9 96
This is about my first experience with programming Arduino.
In this post we will learn different types of Android Layout and some basics of an Android App.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

710 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