How many ways I can redirect a PHP page?
Answer Posted / laxmikant
1- <script>location.replace("index.php");</script>
2-<script>window.href="index.php";</script>
3-header("Location:index.php");
4-<meta http-equiv="refresh" content="5; url=newurl.html">
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What does sign mean php?
What is a php namespace?
How can I increase my website session?
What is query string php?
What are php magic methods?
Which function will suitably replace 'x' if the size of a file needs to be checked? $Size=x(filename);
What is the difference between php4 and php5?
Tell me how can we pass the variable through the navigation between the pages?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
Where is php code written?
What are the advantages of indexes?
Tell me what is the actually used php version?
What is php explain?
Why overriding is called runtime polymorphism?
Does php 7 support multiple inheritance?