Re: Storing IP into DB

From: Date: Thu, 30 Jan 2003 20:22:35 +0000
Subject: Re: Storing IP into DB
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-25264@lists.php.net to get a copy of this message
> Make your 'ip' column UNIQUE in your table and ignore errors. > Or, set a flag in a session or cookie when you save the IP and if that flag > is present on other pages, then don't save the IP. Or I believe you can use REPLACE INTO... Chris

« previous php.db (#25264) next »