variables - PHP Request URI not passing full querystring -
i'm having simple issue can't seem figure out what's going wrong.
in script, i'm capturing current page address using code:
$return_link = 'https://'.$_server[http_host].$_server[request_uri];
if echo $return_link
, returns correct url:
https://sub.mysite.com/schedule?m=02&y=2015
however, when pass $return_link variable script , redirect link, it's dropping second half of query string. i'm getting this:
https://sub.mysite.com/schedule?m=02
can't quite figure out why i'm losing &y=2015
portion.
Comments
Post a Comment