ID: 28302 Updated by: [EMAIL PROTECTED] Reported By: harshit at oinka dot com -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Windows 2000 Professional PHP Version: 4.3.5 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2004-05-06 17:40:10] harshit at oinka dot com Description: ------------ I was using the header function to create a redirect using the "Location" HTTP header. It seems that Apache is sensitive about the syntax of the header sent. In the general format <header-name>: <header value> there must be no space between the <header-name> and the proceeding ":" (colon). eg. header("Location : www.somesite.php"); Somehow any spaces between the two doesn't allow the header to be interpreted properly under Apache (1.xx) and as a result it does not produce the desired result (redirection in my case) but it works out fine on IIS 5.0 I spent an hour trying to debug this, hope someone will benefit from this. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28302&edit=1
