I think that it may not work if you're using the php module in the CGI mode. I don't think web servers accept header information in this case?... My suggestion is to use the <META> refresh tag?
Ross -----Original Message----- From: Ljungan [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 20:30 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: create an AUTOLINK? That was exactly what a meant! =) But you see, I have one problem, nothing happens when execute the code???? What do I do wrong? Here is a code example: if($column){ header("Location: http://website/next.php"); print "hello?"; exit; } The "print"line prints just fine (even if it shouldn't, I just put a text there to see how far the code get) but the line above doesn't? I dont come to the website... :(. I know it exist! Thanks/ Jens -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php