I am experienced with web development, but not with PHP. My challenge now is therefore that I am about to move an older PHP solution to a server only supporting PHP 5.2.+. The whole solution is using a $id – style to read the request instead of $_REQUEST['id'] or the $_GET..., $_POST...
I wonder if this type of coding is not longer supported, or if there is something I have missed here. After I moved the solution it is not working. The variable will be blank/empty.
Is there an easy way to solve this, or do I have to rewrite?
Thank you very much if you take the time to help.
its seam that the older version use
Register_globals = onin php.iniread on it
http://www.peoplecnc.com/register_globals_off.html
its not recommended to use it , and in php5 is off by default,
you can override it by create a file named .htaccess and put this into it:
or by put this line in the head of the script
(Depreciated in PHP 5.3.0. This deprecated feature will certainly be removed in the future.)
but is not recommended , as you can read in the link.