|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-11 02:16 UTC] alan_k@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 31 17:00:02 2025 UTC |
Description: ------------ Why can't I do this: header("Location: http://user:pass@myserver.com"); NS7 will redirect happily, but displays the user:pass in clear in the address bar and changes all the in-page links to match the address bar url. IE will not play the game at all. Reproduce code: --------------- header("Location: http://user:pass@myserver.com"); Expected result: ---------------- Browser redirects to http://myserver.com and authentication is passed across to the basic auth relam. Actual result: -------------- As described above