Ryan A wrote:
Hi,
A client is selling hosting from his site, and _his_ clients get their own
control panel from CPanel,
for the sake of understanding I will name my client A and his client(s) B.

When B needs to log into his cpanel he basicially goes to his a url like
this:
http://hisSite.com/cpanel/
then the Basic Auth pop-up screen comes up, he enters his user/pass....

My client (A) has got a new damn template which has a "username" and
"password" field in it, he wants me
to make it so that whenever B enters his username and pass he gets logged
into cpanel.

My questions:
How do I know where to send the data? (eg: which is the authenticating
file?)
Do I pass it as a GET or a POST or what? URL encode?

You need to tell the browser to use the log in credentials, this is done by redirecting the browser to http://username:[EMAIL PROTECTED]/.


However this does not work with IE with the latest security patch installed, I think. It forbids to set username and password in a url.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to