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

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -