Skip to content

Instantly share code, notes, and snippets.

@harisrozak
Last active August 29, 2015 14:17
Show Gist options
  • Save harisrozak/567d04ef11c5a4ade126 to your computer and use it in GitHub Desktop.
Save harisrozak/567d04ef11c5a4ade126 to your computer and use it in GitHub Desktop.
PHP :: Redirect with meta
<?php
// redirect with meta
$location = 'http://harislab.com';
echo "<meta http-equiv='refresh' content='0;url=$location' />";
echo "<h3>Redirecting...</h3>";
exit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment