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
Does php support inheritance?
How to get no. of rows using MYSQL function?
What are the different filter functions used to filter a variable?
Explain what is the function file_get_contents() usefull for?
What is the output of the following php code?
What is self in php?
Can we run php on tomcat server?
What is urlencode and urldecode in php?
How to change the principal password?
What are the encryption functions in php?
What is a PHP accelerator?
Can we use php variable in javascript?
How to convert a character to an ascii value?
Is python similar to php?
How to pass variables and data from php to javascript?