Sorry for the newb question but I have a quick PHP question.
Let's say I have the inbound URL:
hxxp://www.Food.com/?t202id=123456&t202kw=abcd
I want to be able to encode and redirect these same t202id and t202kw variables to a different URL:
hxxp://www.FastFood.com/?t202id=123456&t202kw=abcd
Is the following snippet of code correct? I'm getting parsing errors on the GET assignments:
202id = $_GET['t202id'];
202kw = $_GET['t202kw'];
$redirect = 'hxxp://www.FastFood.com/?t202id=' . $202id +'t202kw=' . $202kw;
Can someone help me out. I'm obviously pretty new to PHP but do have a bit of a programming background. Thanks!
Let's say I have the inbound URL:
hxxp://www.Food.com/?t202id=123456&t202kw=abcd
I want to be able to encode and redirect these same t202id and t202kw variables to a different URL:
hxxp://www.FastFood.com/?t202id=123456&t202kw=abcd
Is the following snippet of code correct? I'm getting parsing errors on the GET assignments:
202id = $_GET['t202id'];
202kw = $_GET['t202kw'];
$redirect = 'hxxp://www.FastFood.com/?t202id=' . $202id +'t202kw=' . $202kw;
Can someone help me out. I'm obviously pretty new to PHP but do have a bit of a programming background. Thanks!