Getting URL parameter from redirect URL
Like the redirect url here is
a-domain.com/tracking/go.php?c=variables&s={keyword} which will be
redirected to b-domain.com/landing-page.php
I want the parameter of the redirect URL "{keyword}" to be received by the final page and show it up in b-domain.com/landing-page.php
I have used the following code in b-domain.com/landing-page.php:
<?php
$target = $_GET['s'];
?>
<h1>Welcome <?php echo $target; ?> Visitors!!!</h1>
But it's not working. Can anyone help me in this?
-
BrainyBiz -
Thanks
{{ DiscussionBoard.errors[9119567].message }} -
-
luther88 -
Thanks - 1 reply
{{ DiscussionBoard.errors[9119572].message }}-
crams -
Thanks - 1 reply
{{ DiscussionBoard.errors[9120060].message }}-
crams -
Thanks
{{ DiscussionBoard.errors[9120150].message }} -
-
-
-
wpbasit -
Thanks
{{ DiscussionBoard.errors[9151552].message }} -