Jump to content

[SOLVED] what does "cannot modify header information" mean?


sina

Recommended Posts

Ok I have:

 

        <?php

        if ((isset($_POST['submit']))&&(($_POST['zipd'])!=""))

        {

$zip=$_POST['zipd'];

            $network="1900";

            $licensee='all';

            $type=$_POST['type'];

 

setcookie("zipcode",$zip);

setcookie("producttype",$type);

        }

 

 

and get errors (the first line is line 13 in the error below):

 

Warning: Cannot modify header information - headers already sent by (output started at /home/motoun2/public_html/repeaterstore/fcc/compat-1900.php:13) in /home/motoun2/public_html/repeaterstore/fcc/compat-1900.php on line 24

 

Warning: Cannot modify header information - headers already sent by (output started at /home/motoun2/public_html/repeaterstore/fcc/compat-1900.php:13) in /home/motoun2/public_html/repeaterstore/fcc/compat-1900.php on line 25

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.