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!

Member Avatar for diafol

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 for diafol

Piggyback alert!

@ardav : i think you have ass mud Tongue

Member Avatar for diafol

> 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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.