You are here: Re: Email Form Scripting Error Help « PHP Programming Language « IT news, forums, messages
Re: Email Form Scripting Error Help

Posted by Chris Gorospe on 11/04/07 07:18

Comcast wrote:
> I am using a form that uses PHP to create an e-mail and send it off. When
> the script runs, I get an error page, although the e-mail is sent off. The
> error I am getting is:
>
> Warning: session_start(): Cannot send session cache limiter - headers
> already sent (output started at
> /home/content/website/html/contact/scformproc.php:1) in
> /home/content/website/html/contact/scformproc.php on line 51
> ?
> Warning: Cannot modify header information - headers already sent by (output
> started at /home/content/website/html/contact/scformproc.php:1) in
> /home/content/website/html/contact/scformproc.php on line 431
>
> Warning: Cannot modify header information - headers already sent by (output
> started at /home/content/website/html/contact/scformproc.php:1) in
> /home/content/website/html/contact/scformproc.php on line 496
>
>
> The form in question is located at
> http://www.themerg.net/contact/scform.php.
>
> Any help would be appreciated.
>
> Thanks,
> Merg
>
Make sure you put 'session_start();' at the very top of your script.
Directly under that should be your 'header();' functions and no where else.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация