RE: [PHP] PC MAG article

2001-05-09 Thread Opec Kemp \( Ozemail \)
Lol :) Obviously they didn't even look at the ODBC functions part of PHP :) Besides I don't know what they're bitching about DB abstraction layer anyway. I mean Oracle SQL and MS SQL and MYSQL and Interbase SQL is not exatcly compatible :) So even if you use the DB Abstraction layer to connect

RE: [PHP] mySQL Question....

2001-04-17 Thread Opec Kemp \( Ozemail \)
if i perform a SELECT query (say) like the following: SELECT email_addr FROM myTable WHERE x = 1 in this query i want to pull-out (or list) all email addresses where x equals 1, however, suppose i don't want any duplicate email addresses... would i use ORDER BY and COUNT(*) to get listing

RE: [PHP] L?

2001-04-09 Thread Opec Kemp \( Ozemail \)
Try this site http://www.cod.edu/people/faculty/lawrence/romaindx.htm -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 10:14 AM To: [EMAIL PROTECTED] Subject: [PHP] L? what does the roman numeral L mean? can someone point me to

RE: [PHP] Decrypt Function?

2001-03-25 Thread Opec Kemp \( Ozemail \)
Unix "Crypt" function is a one way encrypytion algorithm therefore you can not technically decrupted as such. The way that you can check to see if the given uncrypted value is equals to its crypted value is to 1) Crypt the string with the same "salt" 2) Compare this with the crypted version If

RE: [PHP] Munging hidden/form variables

2001-03-01 Thread Opec Kemp \( Ozemail \)
I can think of one way that you can take in an attempy to prevent this. It is not totally fool proof but it will make it more difficult to send spoof data: 1) Check your HTTP refereer when the form is submitted. If the referer is not from your host then don't process the form. Of course this can

RE: [PHP] -----s--- bit

2001-02-22 Thread Opec Kemp \( Ozemail \)
Hi, Why do you want to access /etc/shadow from your PHP?. As a general rules of thumb that's a pretty bad idea. The reason for this is that /etc/shadow is owned by Root and it's *should* only be readable by Root and noone else. Now in answer to your question "Why your PHP" script can't read