PDA

View Full Version : Paths and password - the stuff that confuse me!


Waldo
14-01-2001, 19:36
I don't know why someone here, can't figure out an easy way for ppl like me to figure out paths... I don't really know stuff like that in great depth, but wouldn't it be easy to create an HTML page, with lots of clever code, that, when uploaded, would tell someone the path of that directory the file is in? Or would that be too easy? :E
Anyway, I'm trying to install a password box on part of my website - it is to replace a less than professional Java box. The site is hosted on Freenetname (did I mention before, that its being transferred!??!). Firstly, do Freenetname use Unix / Linux hosting, as this password thing doesn't work on NT hosts. Secondly, how the hell do I figure out my path? I am using the tutorial at http://www.sheamus.force9.co.uk/user/password.html - obviously, all the paths mentioned in the .htaccess file are for Force 9 hosting...
e.g.
/share/isp/force9/www/nn/username/htdocs/path
etc..
So how do I figure out mine (lets just say that my username is waldo and the path is members)

Cheers.

Waldo
15-01-2001, 22:16
Come on you experts - HELP! Pwetty pweeeeeeeease :E

Jinx M
16-01-2001, 15:03
You E-mail freenetnames tech support and ask them :) I'm not sure it'll work on their space though. Nothing other than plain old HTML works on their space IIRC.

The path is set up by whoever sets up the server you see and can literally be anything. Usually its something like

/sites/yourusername/public_html/

but there are countless variations (and that's just the standard stuff!) Finding the path is easy in PHP, ASP or CGI but since you can't run any of that stuff on Freenetname space its a problem. The reason its a problem is because the path is on the server. HTML runs on the client's browser - so how would it know what the path is? PHP, ASP, CGI runs on the server and so can just sort of ask it. :)

Hope that makes sense, but just to re-itterate: The easiest eay to find out the path is to e-mail or phone tech support and ask them.

Waldo
16-01-2001, 21:19
OK, since they don't do e-mail technical support, looks like I'll have to phone them...
And about that HTML / Path idea... I assumed since the HTML document is stored on the server, there may be some fancy programming to be able to do that - I do know that is possible with CGI, because the Ikonboard setup does a lot of that stuff for you :)