How many ways I can redirect a PHP page?

Answer Posted / atul mahajan

We can also redirect a page using the following code

echo "<meta http-equiv='Refresh' content='0; url=test.php'>";
exit;

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I write php code in html file?

536


List some string function name in php?

542


Tell me how to initiate a session in php?

549


How can we upload a file in php?

533


What are the rules for naming a php variable?

547






How can php and javascript interact?

747


What is the functionality of the functions strstr() and stristr()?

524


can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3071


What is a php 5?

548


What is difference between get and post?

518


Write logic to print Floyd's triangle in PHP?

546


How to get the http request in php?

575


Explain what are the different errors in php?

551


What's the best method for sanitizing user input with php?

489


What is implode() in php?

608