Open GoogleCodeExporter opened 9 years ago
Automatic translators are evil :) But looks like I understood what do you want.
Original comment by sibprogrammer
on 18 Jun 2011 at 2:21
You can use something similar to that I use for WHMCS module:
function owp_ClientArea($params)
{
$code = '<form action="http://' . _owp_getHost($params) . '/login" method="post" target="_blank">
<input type="hidden" name="login" value="'.$params["username"].'" />
<input type="hidden" name="password" value="'.$params["password"].'" />
<input type="hidden" name="plain_post" value="1" />
<input type="submit" value="Login to Control Panel" />
</form>';
return $code;
}
The key point point here is plain_post parameter. This parameter forces browser
to redirect after login.
Original comment by sibprogrammer
on 18 Jun 2011 at 2:32
Original comment by sibprogrammer
on 1 May 2012 at 8:36
Original issue reported on code.google.com by
InnaAnd...@googlemail.com
on 23 May 2011 at 9:11