Hi all,
I have a webform to permit some user to login on neomail (Webmail software) ; on the webform they enter user ($user) and a password ($password) ; after that a simple php script was passing the $user and $password results in this way
<?
header("Location: http://$user:$password@mydomain.com/neomail.php");
?>
OK , it was working fine for years . It's stopped to work latest week after latest IE security patch !
With latest IE patch , http://user:password@domain.com is [b]no more[/b] allowed .
So , now, I am searching an alternative way to login my users
to http://$user:$password@host/neomail.php
I don't know if exists a php solution . I searched for hours on php documentation (header and authentication) , and asked help in other php forums , but at this time 0 solutions.
Any idea in this forum ?
Thank you.
how to pass user and password to an .htaccess page using php
Moderator: General Moderators
how to pass user and password to an .htaccess page using php
Last edited by graziano on Tue Feb 15, 2005 2:48 am, edited 1 time in total.
if you are using basic authentification, how come that you do not want to use the built in login box that pops up whenever you send a authenticate header?
in any case I suggest that you don't use basic authentification due to the lack in security. The best is to use SSL and a session based authentification system.
//cybaf
in any case I suggest that you don't use basic authentification due to the lack in security. The best is to use SSL and a session based authentification system.
//cybaf