RE: [PHP] Finding out how a variable was registered

2002-06-05 Thread Scott Hurring
--- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 4:30 PM > To: Joe Pemberton; php list > Subject: Re: [PHP] F

Re: [PHP] Finding out how a variable was registered

2002-06-05 Thread 1LT John W. Holmes
Use $HTTP_POST_VARS['var'] instead of $var and you will know it comes from post. Or $HTTP_GET_VARS['var'] if you want it from GET (the URL). Or use the superglobals like someone else mentioned if you have the latest PHP version. ---John Holmes... - Original Message - From: "Joe Pemberto