Read comments in the php source code :-) Non Cookie Savvy : (JavaScript) if(document.cookie==''){document.forms.mf.f_id.value='$id'};