[PHP] problem with header(Location:home.php)

2004-09-09 Thread CBharadwaj
Hello, In conection.php I have written. SESSION_ START(); on successful login I am registering a session variable. SESSION_REGISTER(userId); on login failure I am redirecting to home page. Header(Location: home.php); the following error occuring in above line. Warning: Cannot

Re: [PHP] problem with header(Location:home.php)

2004-09-09 Thread Matt M.
the connection file I have included in every page. why this error is occuring? check E:\PHPMySql scripts\bugtrack\connection.php for white space before or after ?php ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with header(Location:home.php)

2004-09-09 Thread Pablo M. Rivas
look the line 3 of connection.php Good luck On Wed, 8 Sep 2004 16:43:54 -0700, CBharadwaj [EMAIL PROTECTED] wrote: Hello, In conection.php I have written. SESSION_ START(); on successful login I am registering a session variable. SESSION_REGISTER(userId); on login failure I am

Re: [PHP] problem with header(Location:home.php)

2004-09-09 Thread Alex Hogan
Warning: Cannot modify header information - headers already sent by (output started at E:\PHPMySql scripts\bugtrack\connection.php:3) in E:\PHPMySql scripts\bugtrack\index.php on line 117 the connection file I have included in every page. why this error is occuring? You are getting this