Create a function that creates a hash of a string which you can then put into your form as a hidden var, then check that the return of the function agaisnt the $_POST of it. so something like.
[phpcode]
function getSessionHash($tag = false) {
global $WS, $_SERVER;
if (!$tag) $tag = $_SERVER['PHP_SELF'];
$label = $tag . getRemoteIP() . @$WS->SessID;
return base_convert(md5($label), 16, 36);
}
[/phpcode]
In this case $WS is a session class, not the normal PHP session one but one we use here, use yuo get the idea. also getRemoteIP() is a function we have to get the IP address as a string of proxy:ip