before any html output on that page, do:
PHP Code:
<?php
if(isset($_GET[name])) {
$url_redirect = $_GET[name];
header("Location: http://www.somesite.com/$url_redirect");
exit;
}
?>
This could have easily been found using the PHP manual
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill
Please visit my sites: Please login or register to view this content. Registration is FREE | Please login or register to view this content. Registration is FREE
Last edited by leavethisplace; 04-21-2005 at 01:35 PM..
Reason: formatting
|