Hello, I've got the following header-problems. How can I get this to work:
header("Location: h--p://user:[EMAIL PROTECTED]/securedir/"); I have a directory with password-protection to wich I want to redirect without the login-popup showing... I've tried a lot but the popup keeps showing. Does anyone have any ideas? Regards, Bart ----!> -----Oorspronkelijk bericht----- Van: Jon Kriek [mailto:[EMAIL PROTECTED] Verzonden: woensdag 10 december 2003 1:15 Aan: [EMAIL PROTECTED] Onderwerp: Re: [PHP] header function, I'm stumped <?php ob_start(); $dom = $_SERVER['SERVER_NAME']; writeMessage($id) or die('cannot write' . $id); header('Location: http://' . $dom . '/cp/ad/ad_details.php?id=' . $id); exit(); ob_end_flush(); ?> -- Jon Kriek www.phpfreaks.com www.jonkriek.com -- 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