Jump to content


Photo

finding childdirectories


  • Please log in to reply
4 replies to this topic

#1 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 11 September 2006 - 11:36 PM

yes im tryna make a script that finds users forum directory whats best way to do this

#2 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 11 September 2006 - 11:37 PM

What do you mean.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#3 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 11 September 2006 - 11:51 PM

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

#4 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 11 September 2006 - 11:55 PM

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?

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#5 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 12 September 2006 - 12:15 AM

ill get more specific ill edit this post so check back.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users