Hey guys,

Do you guys have any idea on this error? This errr showing up on my Contact Form before you input the data field like name, address etc.. Is there a way to fix it?

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/me/html/contactus.php:9) in /home/content/me/html/contactus.php on line 42

Thanks!

Recommended Answers

Put session_start(); right at the top of the page or at least before any html or whitespace output.

Jump to Post

yes you have to put session_start() at the top on you file..

Jump to Post

All 5 Replies

Member Avatar

Put session_start(); right at the top of the page or at least before any html or whitespace output.

yes you have to put session_start() at the top on you file..

Member Avatar

Piggyback alert!

@ardav : i think you have ass mud Tongue

Member Avatar

> i think you have ass mud Tongue

Is that an insult? I can't work it out. Anyway, my ignore list has now welcomed you.

@katsloko
Hope it resolved the issue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.