Fw: [PHP-WIN] register_globals and php 4.2

2002-05-10 Thread Afan Pasalic
HP Warning: Undefined index: id in F:\bhdanas.com\index_ap.php on line 22 PHP Warning: Undefined index: id in F:\bhdanas.com\index_ap.php on line 23 Afan - Original Message - From: Tommy Claasens - Q Data KZN To: 'Afan Pasalic' Sent: Friday, May 10, 2002 10:15 AM S

Re: [PHP-WIN] register_globals and php 4.2

2002-05-10 Thread Afan Pasalic
-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

RE: [PHP-WIN] register_globals and php 4.2

2002-05-10 Thread brother
> -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

Re: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Steve Yates
"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

RE: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Robin Bolton
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

RE: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Shrock, Court
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:

RE: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Shrock, Court
ce configured within your php.ini-- error_reporting = ALL & ~NOTICE -- is what it should be. > -Original Message- > From: Afan Pasalic [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 09, 2002 4:27 PM > To: [EMAIL PROTECTED] > Subject: Fw: [PHP-WIN] register_globals and

Fw: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Afan Pasalic
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 all references of "$pagetype" with "$_GET['pagetype']" (without the doube-quotes, of cou

RE: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread brother
> -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