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
Can we run php in apache tomcat?
How arrays are used in php?
How would you open a directory for reading in php?
Which variable declarations within a class is invalid in php?
How send email using php?
How to create an array in php?
How do you check is php not empty?
How does php session work?
Which method do you follow to get a record from a million records? (Searching not from database, from an array in php)?
Starting or restarting a computer is called
How to reset/destroy a cookie?
What is cms php?
Is php 7 backwards compatible?
What is ci framework in php?
Is ruby on rails php?