Demonic Posted September 11, 2006 Share Posted September 11, 2006 yes im tryna make a script that finds users forum directory whats best way to do this Quote Link to comment https://forums.phpfreaks.com/topic/20442-finding-childdirectories/ Share on other sites More sharing options...
Ninjakreborn Posted September 11, 2006 Share Posted September 11, 2006 What do you mean. Quote Link to comment https://forums.phpfreaks.com/topic/20442-finding-childdirectories/#findComment-90106 Share on other sites More sharing options...
Demonic Posted September 11, 2006 Author Share Posted September 11, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/20442-finding-childdirectories/#findComment-90117 Share on other sites More sharing options...
Ninjakreborn Posted September 11, 2006 Share Posted September 11, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/20442-finding-childdirectories/#findComment-90118 Share on other sites More sharing options...
Demonic Posted September 12, 2006 Author Share Posted September 12, 2006 ill get more specific ill edit this post so check back. Quote Link to comment https://forums.phpfreaks.com/topic/20442-finding-childdirectories/#findComment-90128 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.