Jump to content

Archived

This topic is now archived and is closed to further replies.

Demonic

finding childdirectories

Recommended Posts

say a users main director is

/home/scheols/public_html/

say a user makes a childirectory in that

how can i auto detect users childirectory?


/home/scheols/public_html/somenewdirecty/afile.php

Share this post


Link to post
Share on other sites
Make sure you have a file within there directory, have it standard for you to have a file there, like a .php page.  THen when you create it, create a program to show all the contents of the directory, all sub-folders, everything.  Like for instance.  If you know there url, like the one you listed, keep a .php file in there folder, then with that file, use file_get_contents() or f open on that url, then it will get the contents of the folder.  Or should, then you can just open up that file whenever to see what stuff they have on that directory.  Or did you mean something else, if so be more specific?

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.