Re: .htaccess - Still asking for login information although already sent through address bar
| From: | Jason Wong | Date: | Tue, 07 Oct 2003 09:04:54 +0000 |
| Subject: | Re: .htaccess - Still asking for login information although already sent through address bar | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165274@lists.php.net to get a copy of this message | ||
On Tuesday 07 October 2003 03:44, PHP Webmaster wrote:
[snip]
> $redirect_url = "https://" . $username .
> ":" . $password . "@" . $domain .
> ":2083/frontend/x/index.html";
> header("Location: $redirect_url");
The code looks OK. FWIW I've tried something like:
<?php
header("Location: http://someone:password@somesite.com/");
?>
and it works for me.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I'm having a tax-deductible experience! I need an energy crunch!!
*/