I have a PHP page on my domain: http://dclamp.homtek.net/invite.php.
i have it redirect to this page: http://www.rapidfriends.com/join_inv.php?member_id=94 only.
I want it so that some one can put there ID in my domain and have it put it at the end. like this:
They Visit: http://dclamp.homtek.net/invite.php?ID=91
and it redirects to: http://www.rapidfriends.com/join_inv.php?member_id=91
how do i do this?
<?php
if(isset($REQUEST['ID'])){ header("Location: http://www.rapidfriends.com/join_inv.php?member_id=".$REQUEST['ID']); exit;}
?>
Something like this ought to work:
<?php $id = (isset($_GET['ID'])) ? (int) $_GET['ID'] : 94; header("Location: http://www.rapidfriends.com/join_inv.php?member_id=$id"); exit; ?>