Re: [PHP] newbie question about header()

2003-12-21 Thread Justin French
On Monday, December 22, 2003, at 01:13 PM, Website Managers.net wrote: Unless you're using an 'if' statement, the header redirect must be the first line of the page, above any HTML markup. That's not entirely accurate. ---Quoted from http://php.net/header --- Remember that header() must be call

Re: [PHP] newbie question about header()

2003-12-21 Thread John W. Holmes
Scott Taylor wrote: I am simply trying to redirect users from one page to another. Yet when I use this code I get the following error: *Warning*: Cannot add header information - headers already sent by (output started at /usr/local/psa/home/vhosts/miningstocks.com/httpdocs/etc/php/login/adm

Re: [PHP] newbie question about header()

2003-12-21 Thread Website Managers.net
Unless you're using an 'if' statement, the header redirect must be the first line of the page, above any HTML markup. Jim www.websitemanagers.net - Original Message - From: "Scott Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 21, 2003 8:04 PM Subject: [PHP]