You are here: C97net • 5.10 User Preferences
IP based configuration
This feature stores user values based on his/her IP address. This is an alternative to store user's values instead of cookies, because everything stored in database, so user doesn't need to enable cookies and can store a big value.
Before using this feature, you may need to alter your "ip_config" table structure:
Stored values will be kept for 2 hours, if the same IP address & user ID doesn't access the site in 2 hours, store values will be removed.
function ip_config_update ($what = '', $value = '')
Update the ip_config stored value.
$what = the field name.
$value = the value.
function ip_config_value ($what)
To get the ip_config stored value.
$what = the field name.
function ip_config_count ()
To count number of stored values.
There is no comment. Why not be the first?