How many ways I can redirect a PHP page?

Answer Posted / deep narain singh

You Can Redirect PHP Page by folloeing method:
1- <script>location.replace("index.php");</script>
2-<script>window.href="index.php";</script>
3-header("Location:index.php");

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us what does $_cookie means?

565


What are string functions?

503


What is mvc in php?

530


What is the capacity of mysql database?

557


What is the use of $_server and $_env?

559






Is it possible to submit a form with a dedicated button?

497


What is "print" in php?

518


Why does php need server?

515


How can we change the value of a constant?

532


Tell me what's the difference between include and require?

542


How you can update memcached when you make changes to php?

610


What are the advantages of php mysql?

513


Can php run on windows server?

514


Which function is used to read a single character from a file in PHP.

557


What is a helper function?

534