Sr. PHP Programmer Question: Download Questions PDF
How will you redirect a page using PHP?
The PHP header() function supplies raw HTTP headers to the browser and can be used to redirect it to another location. The redirection script should be at the very top of the page to prevent any other part of the page from loading. The target is specified by the Location: header as the argument to the header() function. After calling this function the exit() function can be used to halt parsing of rest of the code.
Download Senior PHP Programmer Interview Questions And Answers PDF
|Previous Question||Next Question|
|What is numeric array in PHP?||How will you read a file in php?|