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 is the use of trim function in php?
What are the rules for naming a php variable?
How values in arrays are indexed?
What is php namespace?
Explain the difference between array_merge() and array_combine()?
List some features of php that are deprecated in php7?
How do I know my xampp version?
What are the different components used in php for formatting?
Which function is used in php to search a particular value in an array?
Which function would you use to merge two arrays in php?
How do I see how many pages per session in google analytics?
What is var_dump?
What is the difference between super () and this ()?
How does firefox manage cookies?
How do you end a session in php?