I have a redirection script and I have a quick question.
<?php
$user = ;
header ("location: http://socialmedia.com/follow_user=$user");
?>
Note that socialmedia.com ISNT on the server. I want to grab the end of the url so if I have an index.php file I can have example.com/myusername redirect to socialmedia.com/follow_user=myusername.