I think that these kind of questions are very annoying - it is almost
rude to post this to a list.
Why don't you
a) show that you have done some thinking
b) have at least scanned the manual
c) have asked Google.
/frank
8 sep 2006 kl. 07.12 skrev Manoj Singh:
Hello all,
I am developing a s
On Fri, 2006-09-08 at 10:42 +0530, Manoj Singh wrote:
> Hello all,
>
> I am developing a site in which i have to show the directory structure of
> any server i.e the admin will enter any site name and i have to show the dir
> structure of that site name.
Crawl baby, crawl! You need to load a page
On Friday 08 September 2006 00:12, Manoj Singh wrote:
> Hello all,
>
> I am developing a site in which i have to show the directory structure of
> any server i.e the admin will enter any site name and i have to show the
> dir structure of that site name.
>
> Please help me to fix this.
The followi
Hello all,
I am developing a site in which i have to show the directory structure of
any server i.e the admin will enter any site name and i have to show the dir
structure of that site name.
Please help me to fix this.
Thanks & Regards
Manoj
Anyone who wants to see the directory and filesystem fiunctions in action
together can go to http://www.invertedmind.com/baby/ (pardon the images,
they're of my nephew, I originally wrote the script because directory
listings are turned off on the server). If you want a copy of the script
you can
Hmm... I'm not familiar with the directory functions yet.
But perhaps you can use `ls -F` somehow -- this prints the name of each
file in the directory with a special character to denote its type. For
directories, this is a forwardslash. I.e:
localhost:~/Documents/Media Lab$ ls -F
(admin)ind
Sorry for the posting, I hadn't looked hard enough. If any of you need something
along the same lines go:
http://www.php.net/manual/en/class.dir.php
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
Hello,
I need to print out a list of directories, which is a piece of cake, just do something
out of the manual:
$file\n";
}
closedir($handle);
?>
The thing is, I need the sub-directories, and the sub-directories under them... ad
infinitum in a list format.
i.e.
*Dir1
*SubDir1of1
*SubDir2
8 matches
Mail list logo