Archive

Posts Tagged ‘location’

HTTP REDIRECT

January 31st, 2009 R Arun Raj No comments

PHP Redirect

<?php
header
("Location: http://www.example.com/"); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */
exit;
?>

Javascript Redirect
<script type="text/javascript">
<!--
window.location = "http://www.arunrajr.com/"
//-->
</script>

Videos, Slideshows and Podcasts by Cincopa Wordpress Plugin