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
How long will it take to learn php?
How to set a page as a home page in a php based site?
Tell me how is it possible to remove escape characters from a string?
What is uniqid php?
What are the differences between php constants and variables?
What is __ construct in php?
What beforeFilter() is used?
Which is correct about mysqli and pdo?
What is php's mysqli extension?
How should a model be structured in mvc?
What is basic php?
What does mvc stand for and what does each component do?
When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?
What is php artisan tinker?
Which character is used to match exactly one character?