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

How long does a session last in php?

726


What is the use of nl2br() in php?

819


How can I prevent sql-injection in php?

805


What are the features of php?

825


Does cors prevent csrf?

724


What is the use of mysqli_real_escape_string() function?

727


What is php array function?

793


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

792


How can you make a connection with mysql server using php?

744


Is it possible to remove the html tags from data?

732


Should I learn php before wordpress?

733


Can you use php and javascript together?

794


What are the functions of string?

759


What is php and why we use it?

723


Is php 7 backwards compatible?

809