Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-06-2005, 07:48 PM   #1 (permalink)
 
True Techie

Join Date: Apr 2005

Posts: 110

Murdoc

Exclamation Directory Browser (PHP)

Hello, I'm working on an assignment given by the teacher for almost a week now and I'm getting stuck. I don't know how to make it so when I load the script it will report my current directory and allow me to select other directories within or go above 1 directory with the limit that it's not at public_html.

Sample Page

Instructions on how to make it

My Current Script

Please help!! Thank you!
Murdoc is offline  
Old 12-07-2005, 08:07 PM   #2 (permalink)
 
Junior Techie

Join Date: Dec 2005

Posts: 51

endeavor

Default

just goto http://us3.php.net/dir
endeavor is offline  
Old 12-07-2005, 09:59 PM   #3 (permalink)
 
True Techie

Join Date: Apr 2005

Posts: 110

Murdoc

Default

thank you for your response. I got much further than before

However, I've got a second problem now... If you take a look at the sample script as posted on the top, if you click on the link on the page, it will take you directly to the script where it would generate the thumbnails...

I don't want it to be that complicated yet. I want it to just simply go to the index.html or index.php in the directory if I decide to click on the link given. If there's no index page, it would say returning to scripting 2 seconds and refresh.

How do I do that? My script is currently unable to do so yet.
Murdoc is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On