RE: [PHP] header, also stumped
| From: | Bart | Date: | Wed, 10 Dec 2003 22:04:06 +0000 |
| Subject: | RE: [PHP] header, also stumped | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172397@lists.php.net to get a copy of this message | ||
I've tried to test it in a browser with copy-url and it works fine.
Through the script however it doesn't (using the same/correct url!!).
Any ideas...
Regards,
Bart
----!>
-----Oorspronkelijk bericht-----
Van: Richard Davey [mailto:rich@launchcode.co.uk]
Verzonden: woensdag 10 december 2003 17:06
Aan: php-general@lists.php.net
Onderwerp: Re: [PHP] header, also stumped
Hello Bart,
Wednesday, December 10, 2003, 3:34:31 PM, you wrote:
B> I've got the following header-problems. How can I get this to work:
B> header("Location: h--p://user:pass@url.redirect/securedir/");
B> I have a directory with password-protection to wich I want to redirect
B> without the login-popup showing...
B> I've tried a lot but the popup keeps showing.
Test this - copy and paste that URL you use in the Header function
(well, a correct version of it) into a browser. Does that also pop-up
the password window? If it does (and my guess is that it will) then
the issue is with your servers configuration, not your code.
--
Best regards,
Richard mailto:rich@launchcode.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php