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:[EMAIL PROTECTED]
Verzonden: woensdag 10 december 2003 17:06
Aan: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]/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:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to