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

What is difference between post and put in rest?

521


What is difference between array_merge and array_combine?

523


How to create a session? How to remove data from a session?

525


How are sessions maintained?

545


How do you display the output directly to the browser?

473






What is php and its features?

527


Tell me how to create a text file in php?

550


what the new feature add in php 7.2?

541


Why use php artisan serve?

503


What does it mean when it says the csrf token is invalid?

498


What is the maximum size of a database in mysql?

527


How do I stop php artisan serve in windows?

502


Tell me how can we define a variable accessible in functions of a php script?

530


Tell me how comfortable are you with writing html entirely by hand?

516


How can we check the value of a given variable is a number?

614