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/[email protected]&pass=123

 

Which would log me into webmail with the details as:

username: [email protected]

password: 123

 

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

 

Why is this?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/250036-php-link-question/
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:[email protected]:2095

Link to comment
https://forums.phpfreaks.com/topic/250036-php-link-question/#findComment-1283488
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.