top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How many ways I can redirect a PHP page?

+2 votes
235 views
How many ways I can redirect a PHP page?
posted Sep 25, 2014 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

1- location.replace("index.php");
2-window.href="index.php";
3-header("Location:index.php");
3-Using php function: header(”Location:http://maosjb.com “);
4-echo ‘window.location.href=”‘.$filename.’”;’; echo ”; echo ”; echo ”; echo ”; } } redirect(’http://maosjb.com’); ?>

http://www.allinterview.com/showanswers/20040.html

answer Sep 25, 2014 by Arun Gowda
Similar Questions
+1 vote

I have just started learning PHP. So Can anyone tell me that How many methods are there to pass the variable through navigation between the different pages ?

–1 vote

I want to display the number of views of my homepage and continuously increase the views whenever a user opens that page. How to achieve this using PHP and MYSQL?

0 votes

For example say I want include("abc.php") two times in a PHP page?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...