Re: notice:undefined variable
| From: | Marius Venter | Date: | Wed, 05 Jun 2002 06:42:22 +0000 |
| Subject: | Re: notice:undefined variable | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14076@lists.php.net to get a copy of this message | ||
Steve,
Thanks but it created another message:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.
For more information as to why this behaviour exists, see the manual page
for CGI security.
For more information about changing this behaviour or re-enabling this
webserver, consult the installation file that came with this distribution,
or visit the manual page.
PHP: Error parsing C:\WINNT\php.ini on line 62
Regards,
Marius
Steve Yates <steve@srtware.com> wrote in message
news:20020605005247.59995.qmail@pb1.pair.com...
> "Michael Davey" <mikey@splatted.net> wrote in message
> news:HAEFKPCKLBGCHCLFKKENAEHMCCAA.mikey@splatted.net...
> > If you are leasing space, you will probably not have access to the
php.ini
> > file to make this change.
>
> A quick alternative might be to add
>
> extract($HTTP_POST_VARS);
>
> to the beginning of the script. This will autocreate all posted vars just
> like if register_globals was on.
>
> - Steve Yates
> - I've been rich and I've been poor. Rich is better.
>
> / Taglines by Taglinator - www.srtware.com /
>
>
>
>