Helpful Information
 
 
Category: System Administration
nice-looking login

I have a password-protected page using .htaccess. I works great for what it does: when I call the page in the browser, a box pops up asking for my name and password. However, I want to creat a login page for the user. There should be a two text input boxes, one for user name, and one for password, plus a submit button. This is instead of the pop-up box. Any way of doing this?
Dusty
------------------------------------------------
http://TerribleHost.com 50megs/php/mySQL $9.99 month
------------------------------------------------


[This message has been edited by dusty351 (edited November 04, 2000).]

[This message has been edited by dusty351 (edited November 04, 2000).]

Dusty,

Yes this is possible, you would do it using Perl or PHP, or any other server-side programming language, C++, Java... etc.
If you are familiar with any one of these languages then you need to learn how to do CGI with them, then you can create a page to suit your needs. Have a nice day! (:

Theres quite a nice PHP script to do this, at http://phortify.sourceforge.net/ .

Acually, the problem is that the login form has to be at one website (TerribleHost.com) and the user is logging into a second site (the web-based Control Panel in thier own site).

So I'm looking for a way the collect this info from the user via a form, and send it to another site, either GET-form style (http://somewhere.com/menu?user=joe&password=bubblegum) or in the header info with PHP like this:
Header ("user:joe; password:bubblegum")

But I don't know the syntax.


------------------

(argh... trying to type ":" and p, but it keeps messing up, here's another try! http://www.devshed.com/Talk/Forums/smile.gif)

hi there!

can't you just redirect the surfer to this url:
http:// username : password @www.yoursite.com/secret_area/??

[This message has been edited by SiS (edited November 03, 2000).]

[This message has been edited by SiS (edited November 03, 2000).]

[This message has been edited by SiS (edited November 03, 2000).]

[This message has been edited by SiS (edited November 03, 2000).]

Thank you. That was exactly what I was looking for. Good luck with your :'s and p's, SiS.

Dusty
------------------------------------------------
http://TerribleHost.com 50megs/php/mySQL $9.99 month
------------------------------------------------



[This message has been edited by dusty351 (edited November 04, 2000).]

http://www.devshed.com/Talk/Forums/tongue.gif thanx!!










privacy (GDPR)