Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2003-11-03
5
Medium Priority
?
207 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 1800 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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
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 …
Introduction to Processes

721 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