Web Analytics Made Easy -
StatCounter how to pass user and password to an .htaccess page using php - CodingForum

Announcement

Collapse
No announcement yet.

how to pass user and password to an .htaccess page using php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to pass user and password to an .htaccess page using php

    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:[email protected]/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[email protected] is NO more allowed .

    So , now, I am searching an alternative way to login my users
    to http://$user:[email protected]/neomail.php

    I don't know if exists a php solution . I searched for hours on php documentation (header and authentication) , found nothing.
    Any idea ?

    Thank you.

  • #2
    Well unless you plan on putting everything inside a single directory and .htaccess password protect that directory then you really should consider creating a login system using PHP/MySQL. It's not that hard.
    Spookster
    CodingForum Supreme Overlord
    All Hail Spookster

    Comment

    Working...
    X