I'm having a simple issue that I just can't seem to figure out what's going wrong.
In my script, I'm capturing the current page address using this code:
$return_link = 'https://'.$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI];
If I echo $return_link
, it returns the correct URL:
https://sub.mysite.com/schedule?m=02&y=2015
However, when I pass the $return_link variable to a script and redirect to that link, it's dropping the second half of the query string. So I'm getting this:
https://sub.mysite.com/schedule?m=02
Can't quite figure out why I'm losing the &y=2015
portion.