Re: [PHP-DB] [SPAM?] [PHP-DB] weird php error

2003-09-01 Thread Peter Monk
OpenSource, if ($_GET[login] == 'forgot') It's good programming style (and in some cases, necessary) to use quotes around array member names: $_GET[login] is bad. $_GET['login'] is good. However, you are also not passing the "login" variable through to your login processing page. At least, that's

Re: [PHP-DB] weird php error

2003-08-29 Thread Kieu D. Trang
lt;[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 29, 2003 7:38 AM > Subject: [PHP-DB] weird php error > > > > Hi guys, > > > > This is weird to me.. > > I got this script > > --

RE: [PHP-DB] weird php error

2003-08-29 Thread Ford, Mike [LSS]
On 29 August 2003 06:39, OpenSource wrote: > Hi guys, > > This is weird to me.. > I got this script > --- > if ($_GET[login] == 'forgot') > { > echo "Sorry I forgot my password"; > } else { echo "you

Re: [PHP-DB] weird php error

2003-08-29 Thread Tiberiu Ardeleanu
Try: if ($_GET['login'] == 'forgot') - Original Message - From: "OpenSource" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 7:38 AM Subject: [PHP-DB] weird php error > Hi guys, &g

[PHP-DB] weird php error

2003-08-29 Thread OpenSource
Hi guys, This is weird to me.. I got this script --- - when ran, it gives me this error Notice: Use of undefined constant login - assumed 'login' in