You can use the header function for that:
header("LOCATION: http://www.something.com");
Sarfraz
2010-05-04 09:59:43
You can use the header function for that:
header("LOCATION: http://www.something.com");
<?php
header('Location: http://www.example.com/');
?>
Make sure there is NOTHING above the line outputed. otherwide it'll fail.
You could use the header() command:
<?php
header("Location: http://www.example.com/");
?>