Re: [PHP] User Authentication Continued....

2003-10-03 Thread Kris Yates
I guess you would either need to make the vars global or else keep redeclaring them. Obviously, redeclaring them in each function $var=$_GET[whatever] is technically the more secure method. Kris Jeff McKeon wrote: Ok, I've got the user authentication thing down and now I'm continuing to

Re: [PHP] User Authentication Continued....

2003-10-03 Thread Chris Shiflett
--- Jeff McKeon [EMAIL PROTECTED] wrote: The problem I'm having is with the $_GET variables. I guess I'm not declaring them correctly. Do I need to set them as soon as the page loads, and outside of any functions like so.. [code start] $custid = $_GET['custid']; $custname =

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
['vesselid']' order by Status DESC, Created ASC; [code end] Jeff -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 3:45 PM To: Jeff McKeon; php Subject: Re: [PHP] User Authentication Continued --- Jeff McKeon [EMAIL PROTECTED

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Chris Shiflett
--- Jeff McKeon [EMAIL PROTECTED] wrote: $query=SELECT * from tickets where VesselID='$_GET['vesselid']' order by Status DESC, Created ASC; $query = select * from tickets where vesselid = '{$_GET['vesselid']}' order by status desc, created asc; Note the curly braces. Hope that

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Robert Cummings
On Fri, 2003-10-03 at 16:44, Jeff McKeon wrote: Actually, here's the problem I get with using global variables in a mysql_query string.. [error begin] PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING [error end] [code

Re: [PHP] User Authentication Continued....

2003-10-03 Thread Curt Zirzow
* Thus wrote Jeff McKeon ([EMAIL PROTECTED]): Actually, here's the problem I get with using global variables in a mysql_query string.. [error begin] PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING [error end] [code

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
One more mystery solved. Thanks one and all Jeff -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 4:55 PM To: Jeff McKeon Cc: PHP-General; [EMAIL PROTECTED] Subject: RE: [PHP] User Authentication Continued On Fri

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Chris Shiflett
--- Jeff McKeon [EMAIL PROTECTED] wrote: $query=SELECT * from tickets where VesselID='$_GET['vesselid']' order by Status DESC, Created ASC; $query = select * from tickets where vesselid = '{$_GET['vesselid']}' order by status desc, created asc; Note the curly braces. I am

RE: [PHP] User Authentication Continued....

2003-10-03 Thread Jeff McKeon
Good advice! Thanks! Jeff -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 5:19 PM To: Jeff McKeon; php Subject: RE: [PHP] User Authentication Continued --- Jeff McKeon [EMAIL PROTECTED] wrote: $query=SELECT * from