-WIN] register_globals and php 4.2
Oops.replace the "ALL" with "E_ALL" and "NOTICE" with "E_NOTICE"
> -Original Message-
> From: Shrock, Court [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 4:51 PM
> To: Afan
> -Original Message-
> From: Afan Pasalic [mailto:[EMAIL PROTECTED]]
>
> I have the same problem but putting $var_name =
> $_GET['var_name'] didn't solve the problem. I put it on the
> top of the page (e.g. line no. 2) and I'm getting error:
> PHP Warning: Undefined index: var_name in
"Court Shrock" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Replace all references of "$pagetype" with "$_GET['pagetype']" (without
the
> doube-quotes, of course) or have the line "$pagetype = $_GET['pagetype']"
at
> the beginning of your file. Repeat this same idea with your
Or, you can simply use:
@$var_name = $_GET['var_name']
to suppress error messages.
-Original Message-
From: Shrock, Court [mailto:[EMAIL PROTECTED]]
Sent: May 9, 2002 17:51
To: Afan Pasalic; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] register_globals and php 4.2
You will get
Oops.replace the "ALL" with "E_ALL" and "NOTICE" with "E_NOTICE"
> -Original Message-
> From: Shrock, Court [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 09, 2002 4:51 PM
> To: Afan Pasalic; [EMAIL PROTECTED]
> Subject: RE:
line 2
>
> Any idea?
>
>
> Afan
>
>
> - Original Message -
> From: Shrock, Court
> To: brother ; '[EMAIL PROTECTED]'
> Sent: Thursday, May 09, 2002 1:07 PM
> Subject: RE: [PHP-WIN] register_globals and php 4.2
>
>
> Replace a
> -Original Message-
> From: Shrock, Court [mailto:[EMAIL PROTECTED]]
>
> Replace all references of "$pagetype" with
> "$_GET['pagetype']" (without the
> doube-quotes, of course) or have the line "$pagetype =
> $_GET['pagetype']" at
> the beginning of your file. Repeat this same idea