View Full Version : autologin to a password protected directory

01-12-2013, 02: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">

It doesn't work!