How many ways I can redirect a PHP page?

Posted on

1. Using Java script:
‘; echo ‘window.location.href=”‘.$filename.'”;’; echo ”; echo ”; echo ”; echo ”; } } redirect(‘http://maosjb.com’); ?>

2. Using php function: header(“Location:http://maosjb.com “);

Advertisements

One thought on “How many ways I can redirect a PHP page?

    yourfriend78640 said:
    August 29, 2013 at 8:36 pm

    Or you can also put HTML codes for redirection among php scripts

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s