Re: Redirect not working on server

From: Date: Tue, 02 Jun 2009 20:00:58 +0000
Subject: Re: Redirect not working on server
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-293506@lists.php.net to get a copy of this message
I found the answer here - I had --- whitespace & ... if <?php is at line 2 Location: http://www.phpbuilder.com/board/showthread.php?t=10310794 Blank space above the php tag or below the final php tag It is not intuitive but ... if <?php is at line 2 of your script and a blank line is above it then that can cause problems such as the php header function not working. ========================= *So I just need to get this working... error_reporting(E_ALL); If I put this on a page isn't it supposed to override other server setting and display errors? It's not - This the page is blank - except for the echo test -- Thanks - RevDave Cool @ hosting4days . com [db-lists 09]

« previous php.general (#293506) next »