DaveC426913
Programmer
I have a PHP 4.2 app on a system that's running PHP5.
The big difference of course is the superglobals and the POST/GET variables. I've temporarily switched the security for these features off, so I can be sure my app is running. Now I've got to flip the switches back on.
I suppose, as far as the GET/POSTs, they're pretty easy to track down and change, but I need a reliable way of finding all the superglobals so I can declare them explicitly. Unless I'm mistaken it's impossible to tell local variables from superglobals.
Advice?
The big difference of course is the superglobals and the POST/GET variables. I've temporarily switched the security for these features off, so I can be sure my app is running. Now I've got to flip the switches back on.
I suppose, as far as the GET/POSTs, they're pretty easy to track down and change, but I need a reliable way of finding all the superglobals so I can declare them explicitly. Unless I'm mistaken it's impossible to tell local variables from superglobals.
Advice?