Jump to content

membership system help


blueman

Recommended Posts

what i prefer to do... is have this

[code]
#security --> 1.1.1.1.1 or 0.0.1.0.1 or the likes
$result=mysql_query("SELECT * FROM users WHERE `login`='$id' LIMIT 1");
$row=mysql_fetch_array($result);
$security=explode(".",$row[security]);
[/code]

now you can literally turn any feature on/off for some people, and on for others

[code]
if($security[9]==1) echo 'admin'; #etc
[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.