1. remove echo stmt , if any above it. 2. use: $url = page which you have to gooooooooo print "<meta http-equiv=\"refresh\" content=\"0;URL=$url\">"; Thank You, Reji, PHP Developer. ================== --- On Tue, 15/12/09, webmaster <ken.poyser@xxxxxxxxxxx> wrote: From: webmaster <ken.poyser@xxxxxxxxxxx> Subject: Cannot modify header information To: php-objects@xxxxxxxxxxxxxxx Date: Tuesday, 15 December, 2009, 11:12 PM My next problem I am having is the header function.... my command is if (!$card_num) { header ("Location: get_card.html" ); exit; } and I am get back Cannot modify header information - header is already by (output stared at ......) in ...... on line ## I have read something about whitespaces, in the location file, and it appears that there are no leading whitespaces in the location file Any suggestions, Ken The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ [Non-text portions of this message have been removed]