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 can you propagate a session id?
Can a trait extend a class php?
Write a statement to show the joining of multiple comparisons in php?
Explain the difference between urlencode and urldecode?
What is data structure in php?
What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?
What is difference between rest and http?
What is the difference between die () and exit () in php?
Explain mysql_error().
Which function you can use in php to open a file for reading or writing or for both?
What are the special characters you need to escape in double-quoted stings?
How do you pass a variable by value?
Why do we use php?
What is the function file_get_contents() usefull for?
Explain the difference between array_merge() and array_combine()?