> > I have found if you set the environment var "REDIRECT_STATUS" to "FALSE" > then it works > > Someone explain? > > > > Having finally found out how to pass the Environment vars onto PHP, I am > > stumpted to find that PHP wasn't reading them and putting them in their > > place (GET vars). > > > > I tried changing the exe from the php-cli to just php. This > now brings up > a > > security error and I cannot find a solution > > > > Can anyone help?
the REDIRECT_STATUS env var is for cgi security, and is a workaround given some webservers don't set it properly. That php wasn't showing env vars sounds to me like a register globals problem, and you having it set to off. -- james -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php