writes
>Hello
> thanks all for the help.
> The scripts are now working fine, but It doesnt display
>information or post by
>the user. Thanks again for all post.
>
>It showed these errors
>
>Warning: Cannot modify header information - headers already sent by
>(output started at /home/public_html/post1.php:11)
>in /home/public_html/post1.php on line 116
>
>Warning: Cannot modify header information - headers already sent by
>(output started at /home/public_html/post1.php:11)
>in /home/public_html/post1.php on line 117
The cookie is sent with the headers, and must be the first thing output,
before anything else, including spaces, is sent to the user.
It sounds at first glance as though you cannot do this, because you have
to find out whether the user is valid or not.
However, you can put your data check BEFORE the <HEAD>, put the
setcookie before any output, and put the output where you would normally
put it.
--
Pete Clark
Free advertising for your website, business, or organisation at:
http://www.hotcosta.com/resources.php
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
SPONSORED LINKS
| Php mysql | Job postings |
YAHOO! GROUPS LINKS
- Visit your group "php-list" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
