HTTP Redirection in PHP

/ Published in: PHP
Save to your folder(s)

Allows to perform PHP redirection (must be placed before any browser output).

Copy this code and paste it in your HTML
  1. <?php
  2. // stick your url here
  3. header('Location: http://you_address/url.php');
  4. ?>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.