I have been developing a site on a test server that uses PHP 3.15 compiled as part of Apache. I moved the site up to the real server which has PHP 3.15 compiled as a CGI.
Of course, nothing went as smooth as it was supposed to, but one problem that I can't get around is the fact that I can't access variables the same way.
I designed the site to use variables such as $HTTP_GET_VARS, $HTTP_POST_VARS and $HTTP_COOKIE_VARS. These variables are not available on the production site though. When I look at phpinfo() the only variable under the PHP section is $PHP_SELF.
Under environment, I see HTTP_COOKIE, but it's just a big jumble of the cookie info that I need.
Is this a characteristic of the CGI version of PHP? Is there an option to enable this? I've never tried enabling features in the .htaccess file, but I hear that you can.
Thanks a lot for your help,
Matt Nuzum