RE: [PHP] Re: POST-ing or GET-ing an array

2002-10-29 Thread SHEETS,JASON (HP-Boise,ex1)
You need to call start_session before accessing $_SESSION variables UNLESS you have PHP configured to automatically start_session (which is off by default). You need to start_sesion so that scripts that don't need $_SESSION don't go through the overhead of starting session. Jason -Original M

RE: [PHP] for??????

2002-10-28 Thread SHEETS,JASON (HP-Boise,ex1)
I believe there is some confusion between columns (fields) and rows. LIMIT is generally used to limit the returned rows, not fields. If you want only specific columns then select only the ones you want "SELECT id,firstname,lastname,login FROM users ORDER BY lastname,firstname". Jason -Origi

RE: [PHP] extract($_POST)

2002-10-25 Thread SHEETS,JASON (HP-Boise,ex1)
You can still create a sub-query to do the damage. Jason -Original Message- From: John W. Holmes [mailto:holmes072000@;charter.net] Sent: Friday, October 25, 2002 4:01 PM To: 'Rick Emery'; 'Chris Boget'; [EMAIL PROTECTED]; 'Monty' Subject: RE: [PHP] extract($_POST) No, this can't happen

RE: Re[2]: [PHP] DB speed

2002-10-10 Thread SHEETS,JASON (HP-Boise,ex1)
Checkout osdb, it's the "Open Source Database Benchmark" it supports Postgres and MySQL and is available at http://osdb.sourceforge.net. To test Postgres and MySQL you will need both installed on the machine you try to compile from, you will need to compile with --with-mysql and --with-postgresql

RE: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread SHEETS,JASON (HP-Boise,ex1)
Storing passwords in MD5 or another hash is an excellent idea because it is generally not possible to decrypt them (if the user uses a bad password they can be brute forced but you can only do so much). By storing passwords in MD5 you protect your users passwords, if your database gets cracked th

RE: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread SHEETS,JASON (HP-Boise,ex1)
PROTECTED]] Sent: Wednesday, October 09, 2002 2:48 PM To: 'SHEETS,JASON (HP-Boise,ex1)'; Scott Fletcher; [EMAIL PROTECTED] Subject: RE: [PHP] Encrypting passwords in a flat file before import Hi! I don't see yours in the PHP newsgroup. I understand what you meant and I don't have