I tried this and it didn't work, I think cpanel checks if a person logs in this way, but I was using PHP and the header function so, not sure...
&?php
if (!isset($user)) {
?&
&title&Control Panel Login&/title&
&body bgcolor=\&#000000\& text=\&#999999\& link=\&#999999\& vlink=\&#999999\& alink=\&#666666\&&
&div align=\&center\&&
&form name=\&login\& method=\&post\& action=\&login.php\&&
&/form&
&form name=\&form1\& method=\&post\& action=\&\&&
User:
&input type=\&text\& name=\&user\&&&br&
Pass:
&input type=\&password\& name=\&pass\&&&Br&
&input type=\&hidden\& name=\&action\& value=\&login\&&
&input type=\&submit\& name=\&Submit\& value=\&Submit\&&
&/form&
&/div&
&?
}
if ($action == \&login\&

{
$url = \&http://\&.$user.\&:\&.$pass.\&@www.aphosting.com:2082\&;
header(\&Location: $url\&

;
exit;
}
?&