RE: [PHP] Var question

2002-10-24 Thread Clint Tredway
Thanks guys.. I am moving away from ColdFusion to PHP and so I still forget about the isset() function. -Original Message- From: 1LT John W. Holmes [mailto:holmes072000@;charter.net] Sent: Thursday, October 24, 2002 8:53 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Var

Re: [PHP] Var question

2002-10-24 Thread Maxim Maletsky
is go a variable that is passed via post? I guess yes but you get this error without submitting yet. There are three solutions: 1. Change your error reporting level to 55: error_reporting(55). This will stop warning your undefined variables. 2. Prefix the variable with an at-mark: @$_POST['go

Re: [PHP] Var question

2002-10-24 Thread 1LT John W. Holmes
You can just check for if(isset($_POST['go'])) You don't really care what the value is since it's just a button. ---John Holmes... - Original Message - From: "Clint Tredway" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 9:33 AM Subject: [PHP] Var questio

Re: [PHP] var question

2001-04-16 Thread Steve Edberg
You can also look at environment variable $QUERY_STRING. For example, if ($HTTP_SERVER_VARS['QUERY_STRING'] == 'login') { ...do log in procedure If register_globals is on, all you need is if ($QUERY_STRING == 'login') If you might be passing other parameters

Re: [PHP] var question

2001-04-16 Thread Plutarck
Note: Yes, I meant string instrument. Any references to YoYo Ma will be dealt with swiftly and severly. -- Plutarck Should be working on something... ...but forgot what it was. ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9bfp5e$169$[EMAIL PROTECTED]">news:9bfp5e$169$[EMAIL PROTECTED]...

Re: [PHP] var question

2001-04-16 Thread Aemuli
ple think I just do it to annoy them. I just like the way "viola" sounds :) Plutarck Should be working on something... ...but forgot what it was. - Original Message - From: "Brian Clark" <[EMAIL PROTECTED]> To: "Plutarck" <[EMAIL PROTECTED]> Sent:

Re: [PHP] var question

2001-04-16 Thread Plutarck
Add an "=" on the end of your url. Viola. -- Plutarck Should be working on something... ...but forgot what it was. ""Jeroen Geusebroek"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Guys, > > I have a question about the way PHP handles var/strings. > >