🎴 Flashcard Mode
SharePoint 2007 Web Parts and Configuration Quiz
Card1 / 16
Mastered0
Review0
QuestionClick to flip
If you want to check whether your script has already sent headers then which of the following can be used?
AnswerClick to flip back
A
headers_sent()
💡 Explanation:
The headers_sent() function specifically checks whether HTTP headers have already been sent. header() sends headers, setcookie() also sends headers (cookies use HTTP headers), and sent() is not a valid PHP function for this purpose.