Forums

Give help. Get help.

  • # June 12, 2017 at 11:19 am

    Cannot modify header information, headers already sent by, ,

    Why does it happen?

    To understand why headers must be sent before output it’s necessary to look at a typical HTTPresponse. PHP scripts mainly generate HTML content, but also pass a set of HTTP/CGI headers to the webserver:

    Cannot modify header information – headers already sent by

    # June 12, 2017 at 12:42 pm

    Without a sample of the actual code where this error is occurring, it’s impossible to pinpoint the exact issue.

    Generally-speaking though, this means that you are outputting something before the header declaration. A good example of this is a PHP script that has code for setting a cookie after the same script has already used echo to output information.

    # June 12, 2017 at 4:29 pm

    I’m thinking he’s just dumping a link to his site and isn’t actually posing a question.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag