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
Tell us why did you choose this particular career path?
What is user defined function in php?
Why use php artisan serve?
What is php variable?
How do you define a constant in php?
Can we use php variable in javascript?
What is local variable in php?
How to create a web form?
List some features of php that are deprecated in php
Tell me are parent constructors called implicitly inside a class constructor?
Explain array_uintersect()?
What is the difference between Session and Cookie?
Which method removes the last element from the end of an array?
Is empty function c++?
Where is session id stored?