Which of the following PHP functions can be used to set the HTTP response code? (Choose 2)

Which of the following PHP functions can be used to set the HTTP response code? (Choose 2)
A . header_add()
B . header()
C . http_set_status()
D . http_response_code()
E . http_header_set()

Answer: B, D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments