Hi-
I have PHP code that accepts form post data - and creates a cookie based upon that data. it then uses either the cookie value or the form post value in the current created page (the page posts preferences to itself)
http://www.js-x.com/prefs/
The code seems to work for IE(version 6) and not for NS4, NS6, or Opera5.
Any idea what I have done incorrectly?
The form posts the variable size
The cookie stores the variable CSSfsize
code:--------------------------------------------------------------------------------
$tsize=$size;
if(empty($size)&&empty($CSSfsize)){$size="10";}
setcookie("CSSfsize", $size, 3600024360,"/");
$size=$CSSfsize;
if($tsize){$size=$tsize;}
-TIA
Cheers.
--Mike Robb
http://www.js-x.com/