Hi Sam,


> The following is exactly what I typed in (just copy and pasted) but I'm
> still getting the error:
>
> Cannot add header information - headers already sent by (output started at
> web.php:2) in
> web.php on line 19

Make sure that all output for Cookies and header information is sent before
any HTML, and that there is no whitespace before the initial <? tag - that's
probably the source of the problem.

Have a search for Output buffering on the PHP main site.

James.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to