Web technologies Questions | PHP Quiz | Set 1 | Question 13
Which of the following function is used to redirect PHP pages?
(A)
redirect()
(B)
header()
(C)
reflect()
(D)
None all of the above
Answer: (B)
Explanation:
The header() function is an inbuilt function in PHP that is used to send a raw HTTP header. The HTTP functions are those functions that manipulate information sent to the client or browser by the Web server before any other output has been sent. To redirect pages from one to another in PHP, we used the header() function.
Quiz of this Question
Please comment below if you find anything wrong in the above post
Last Updated :
20 Sep, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...