By 05/02/2014 15 Comments

How to HTTP Redirection in PHP

What is HTTP Redirection?

  • It redirects user to the given URL or website address
  • It is helpful when we want to redirect user from one Website to another
  • In PHP we can achieve this easily by using the following code

Following is the one line code for HTTP redirection in PHP.

<?php

header('Location: http://your_url'); // send a HTTP header and pass one argument as a URL, you can pass your own URL from this function

?>






Posted in: PHP

Leave your valuable Comment

Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .