...

View Full Version : autologin to a password protected directory



tpeck
01-12-2013, 01:58 AM
I am trying to autologin to a password protected directory (protected in cpanel).

That is, I have a form which collects a Username and Password and then submits.

But then the cpanel login pops up and duplicates the process.

So how to send the Username and Password to the cpanel generated login?

I have this so far:



<form method="post" name="logonform" action="http://mysite.com/mydir/index.html/login/?user=Username&pass=Password">
...
<input type="text" name="Username">
...
<input type="password" name="Password">
...
<input type="image" src="img/login.gif" width="60" height="38" border="0">
...
</form>


It doesn't work!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum