Jump to content

PHP link question


sphinx

Recommended Posts

Hi there!

 

I'm not sure which section this questions belongs in however, it seems to fit well in PHP.

 

Basically, I'm using this link to directly log me into the cPanel webmail:

 

http://website.com:2095/login?user=email@website.com&pass=123

 

Which would log me into webmail with the details as:

username: email@website.com

password: 123

 

This works perfectly on FireFox, but on Internet Explorer, the popup login box still occurs.

 

Why is this?

 

Thanks

Link to comment
Share on other sites

The php code is either using $_REQUEST (instead of $_POST) or it has register_globals turned on, both of which should be avoided.

 

For either case, it also means that the code is not testing if the (any) form was submitted before using any of the submitted data.

 

Edit: The site is also using basic HTTP authentication (the first popup login box) and I would guess is likely rewriting or redirecting the URL to supply it with a URL something like http://username:password@kadio.co.uk:2095

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.