passing data between pages in php have ways like $_GET, $_POST, $_REQUEST etc. But if we are to send data without any variable in php, there is a way which I seem to have forgotten.
For example , let a sample url be : http://www.mysite.com?123
Is it possible to catch the value 123 from the corresponding php page ?
any use of $_SERVER here?
You can get it using:
This url:
www.mysite.com?123will provide123into$_SERVER["QUERY_STRING"].But be careful, if your url is like
www.mysite.com?123&re=789,$_SERVER["QUERY_STRING"]will be123&re=789. It catch every thingg after the?.