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 do you check if a variable has not been set in php?
What are the Formatting and Printing Strings available in PHP?
What is the use of htmlspecialchars in php?
How do you remove whitespace from the beginning and end of a $string variable?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
Where are php configuration settings stored?
What is meant by pdo in php?
Explain me soundex() and metaphone()?
How do http requests work?
Why use static methods php?
How to create a session? How to remove data from a session?
How to find current date and time?
What is difference between print_r and echo in php?
What is the difference between == and === in php?
What is the goto statement useful for?