define('PROTECTED_KEY', 'mysecretword');
function my_addslashes($string) {
return (get_magic_quotes_gpc() == 1) ? $string : addslashes($string);
}
function protect($name, $value, $secret) {
$tag = "";
$seed = md5($name.$value.$secret);
$html_name = $name."_checksum";
$tag = " urlencode(my_addslashes($value))."'>\n";
$tag .= "\n";
return $tag;
}
?>