Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Social Networking And Marketing Interviews:Digital Marketing ManagerNews And Article WritersOnline Media OperatorPHP Community Marketing ExpertPublic Relations AssistantPublic Relations ManagerSMMSocial MediaSocial Media ExecutiveSocial Media Specialist
Copyright © 2018. All Rights Reserved
PHP Community Marketing Expert Interview Question:
Explain how does one prevent the following Warning ‘Warning: Cannot modify header information – headers already sent' and why does it occur in the first place?
Submitted by: MuhammadDo not output anything to the browser before using code that modifies the HTTP headers. Once you call echo or any other code that clears the buffer you can no longer set cookies or headers. That is also true for error messages, so if an error happens before you use the header command and the INI directive display_errors is set then that will also cause that error to show.
Submitted by: Muhammad
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.