By 03/02/2016 14 Comments

How to make a redirect in PHP?

  • PHP’s header() function is used to send a new HTTP header, but this must be sent to the browser before any HTML or text.


header('Location: '.$newURL);

die() or exit():

  • die and exit functions are used with header() function because these functions stop the current execution of script’s remaining code and redirect to a specific url through header() function.



Posted in: PHP, Solutions

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 .