|
|
sylvielaps 04-07-2006, 07:35 PM I have a form that request the user to enter a path and then I'd like to have the output show up in an html table that is able to hyperlink all .asp and .txt files. What I have now is GetDirectory.html(form) then I have showDirectory.asp which currently has cookies stuff etc..but I can't seem to figure out how to get the directory that was entered from the form and display all of them in a table. All the examples i've seen use a specific file to test so I'm not grasping to whole concept. Can someone direct me to a better examples or submit some script that would help me do this task?
I have read teh sticky up top and I currently have that script in my asp page but I can't get it from the html form.
Thanks in advance!:D
miranda 04-09-2006, 03:55 PM the reason most people hard code the directory is so that the user cannot browse drives and directories on the server that they don't want them to see. You can get the drive and directory by just using the FileSystemObject
There is a good example on the web at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=4&txtCodeId=6273
sylvielaps 04-10-2006, 05:32 PM the reason most people hard code the directory is so that the user cannot browse drives and directories on the server that they don't want them to see. You can get the drive and directory by just using the FileSystemObject
There is a good example on the web at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=4&txtCodeId=6273
Thanks Miranda. I realize that usually people wouldn't allow this process to happen. However I'm just learning ASP and this was one of my assignments to have a form that asks for the path and then outputs in an HTML table. It's like a 2 part thing. Appreciate the help! Many thanks.:thumbsup:
|
|
|
|
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum
vBulletin® v3.8.2, Copyright ©2000-2013, Jelsoft Enterprises Ltd.