Header already send problem

for php developer it is very common problem  ” Header already send”. recently we have faced such a problem. there three reason for that.

first one is if any space or other thing before starting <?php tag .

second reason is if any output occur or echo or print command before redirect.

and the third is very uncommon . if  any body enter newline after ending php tad ?> than it occur.

so if an one fetch this problem check this thing.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.