This is another useful situtation for output buffering... preventing any data to browser untill ready Patrick ---------- Forwarded message ---------- From: "Adrian Lee" <l33_adrian@xxxxxxxxx> Date: Dec 15, 2009 9:21 PM Subject: Re: Cannot modify header information To: <php-objects@xxxxxxxxxxxxxxx> Check also if u have any include files above this code, the echoed text, or spaces might be there. ________________________________ From: webmaster <ken.poyser@xxxxxxxxxxx> To: php-objects@xxxxxxxxxxxxxxx Sent: Wed, December 16, 2009 1:42:47 AM Subject: Cannot modify header information My next problem I am having is the header function.... my command is if (!$card_num) { header ("... [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]