Forum Moderators: coopster
then write a file that uses $_SERVER['REMOTE_ADDR'] to track their IP address and the pics they have voted for
ex:
00.000.00.000,22,21,45
00.000.00.111,21,37
then
$cnt = file_gent_contents("file.php");
$users = explode("\n",$cnt);
foreach($users as $n => $v){
$sep = explode(",",$v);
$user = $sep['0'];
array_shift($sep);
//check $sep for the pic you are looking at
//$sep will be an array of the pics they have voted on
}
i would give a full script but i am too busy right now