Re: [PHP-DB] how to get the referrer page details

2006-06-16 Thread Oliver Block
Am Donnerstag, 15. Juni 2006 15:46 schrieb Manoj Singh: Now i came to know that this variable is not supported by some servers or it can be set off in php.ini setting. So can any one help me doing this without using $_SERVER['HTTP_REFERER']. That how the things are. Sometimes others do not act

Re: [PHP-DB] Inserting Data into MySQL database

2006-06-16 Thread Oliver Block
Am Donnerstag, 15. Juni 2006 22:42 schrieb Girish Agarwal: Hi All, I have a table in mySQL database 5.0 the structure of which is as follows ssno INT 9, lname VARCHAR(15) NOT NULL, fname VARCHAR(15) NOT NULL, I am inserting the values using

RE: [PHP-DB] how to get the referrer page details

2006-06-16 Thread Dwight Altman
I use $_SERVER['REMOTE_ADDR'], but the notes at http://us2.php.net/getenv say you may want to also use HTTP_X_FORWARDED_FOR (and not even getenv but $_SERVER as you were attempting). Regards, Dwight -Original Message- From: Oliver Block [mailto:[EMAIL PROTECTED] Sent: Friday, June

[PHP-DB] Forms with letter security

2006-06-16 Thread Ron Piggott (PHP)
I have a set of graphical letters A to Z. I want some displayed and then keyed into a security field to verify a person is submitting the form. I have seen these used before on shopping carts. I know about creating salts to select which letters to choose. What I am wondering is if there is a