Re: SecurePages with PHP5
Does any one know which file they had to change i went thorugh all of them and still its not working with PHP5 any ones help would be great i have an appl which is down at the min because of me portingthe app form php4 to php5
> Yes, it solves the problem.
> The variable names you must change are:
> $HTTP_SERVER_VARS ==> $_SERVER
> $HTTP_ENV_VARS ==> $_ENV
> $HTTP_GET_VARS ==> $_GET
> $HTTP_POST_VARS ==> $_POST
> $HTTP_SESSION_VARS ==> $_SESSION
> % yeah, I had the same problem.
> % I figured out the problem. The
> % variables in php > 4.1 changed.
> % it's things like $HTTP_GET_VARS
> % to $_GET and so on. See this page
> % details:
> % http://us3.php.net/reserved.variables
> % Then, grep for HTTP_ in all the php
> % files, and change the ones that you
> % to... it worked for me!