One more question if I may.
My cookie now works (i.e. it appears on my local PC), but why does it only work when there is some html code after it. When I run just this in a file (cookie.php3):
<?
setcookie("visitor", 12345, time()+3600, "/", "www.scubaindex.com", 0);
?>
Nothing happens. If I put some html after it, then it works. Why is this?
Thanks,
James