Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-27-2004, 09:19 PM   #1
Member (5 bit)
 
blankloner's Avatar
 
Join Date: Apr 2004
Location: California
Posts: 29
Send a message via AIM to blankloner Send a message via Yahoo to blankloner
HTML or PHP folder link

Hey all, i just finished installing and configuring the localhost file server. anyways, id like to know if anyone could please give me a bit of code that lets someone just click a link to a folder in my appserv/www and see the contents without having to type out the whole thing like http://localhost/mypic.jpeg? thank you all, this would be very helpful it could be any formatt, as long as i could use it that way, thanks all
blankloner is offline   Reply With Quote
Old 09-28-2004, 12:22 PM   #2
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
All you have to do is enable directory browsing on the directory with your files. I would make this a sub-directory so they cannot get to your php source files.

Example: if this is the path...
http://localhost/files/mypic.jpg
Enable the "files" sub-directory for directory browsing.
faulkner132 is offline   Reply With Quote
Old 09-28-2004, 05:42 PM   #3
Member (5 bit)
 
blankloner's Avatar
 
Join Date: Apr 2004
Location: California
Posts: 29
Send a message via AIM to blankloner Send a message via Yahoo to blankloner
Question

Thank you for the help but my files are in C:\Appserv\WWW, and online for my pc its http://localhost, anyways, i went into the www folder and activated the directory browsing feature, but did you mean to make another folder, call if files or w/e, put the files i want in there, then activate it there? because what i wanted was something so that it had links to download the files in my files folder, and so that someone could just choose a link and download it, without having to type out http://localhost/*filename*, so, in other words, to make it look like FTP, taht it shows all the files you could download, etc. Thanks for the help faulkner132, Could you please help me one more time please?
blankloner is offline   Reply With Quote
Old 09-28-2004, 10:10 PM   #4
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
As long as there is no set index file (a filename starting with index) and your .htaccess folder is set to allow directory listing, this feature is automatic. If I recall, AppServ has directory listing enabled by default, but I'm not sure on that. When you want to get a directory list, simply go to http://localhost/ and you will get the directory listing you wish. For security reasons, I recommend creating another folder where you store info that is meant to be listed, so you dont accidentally save file with private information in the root folder. If you create a new folder, to directory list, you would just have to go to http://localhost/foldername. Good luck, HTH
__________________

Tyler A. Thompson
Small Business Networking Services Specialist
tyler@derbydigital.com
kstatefan40 is offline   Reply With Quote
Old 09-29-2004, 05:36 PM   #5
Member (5 bit)
 
blankloner's Avatar
 
Join Date: Apr 2004
Location: California
Posts: 29
Send a message via AIM to blankloner Send a message via Yahoo to blankloner
thanks buddy, that helped alot, anywyas, you know of any good WYSIWYG programs for PHP, becuase i dont know php and i wanted to know if i could make some simple things with it. Because i dont know if appserv supports HTML, does anyone know? thank you because so far ive only seen php files in there, thanks again
blankloner is offline   Reply With Quote
Old 09-29-2004, 06:50 PM   #6
Security Dude
Staff
 
kstatefan40's Avatar
 
Join Date: Jun 2003
Location: Derby, Kansas
Posts: 999
Send a message via AIM to kstatefan40 Send a message via MSN to kstatefan40 Send a message via Yahoo to kstatefan40 Send a message via Skype™ to kstatefan40
PHP does not come in a WYSIWYG form, because most of what it does is server side, and "behind the scenes", meaning there is no graphics involved in PHP. AppServ does support HTML. HTH

PS: Did you happen to read my article on creating a Web Server?
kstatefan40 is offline   Reply With Quote
Old 10-02-2004, 12:04 AM   #7
Member (5 bit)
 
blankloner's Avatar
 
Join Date: Apr 2004
Location: California
Posts: 29
Send a message via AIM to blankloner Send a message via Yahoo to blankloner
thx buddy, and i think i did read the tutorial on making a web server...the one on this site right, on the home page. Anyways, all i did was make a new folder within the C:/appserv/www/ and put all my files in there, and went to http://localhost/*foldername* and it worked just like i wanted it to thank you again for helping me.
blankloner is offline   Reply With Quote
Old 10-02-2004, 12:48 PM   #8
Member (5 bit)
 
blankloner's Avatar
 
Join Date: Apr 2004
Location: California
Posts: 29
Send a message via AIM to blankloner Send a message via Yahoo to blankloner
one last thing buddy, html is different from frontpage extensions right? so i dont need to install the frontpage extensions to make the html work on my appserv ? thanks alot buddy.
blankloner is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:53 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2