to check for cookies being enabled or not, try:
if ($HTTP_COOKIE=="")
{echo "please enable cookies";
exit;
}
The idea is to see if the cookie variable contains either the session ID or the empty string, which means cookies are not enabled. Although this appears to work well in Netscape, I find that cookies enabled in Internet Explorer (only tried this on v5) will result the above message to appear, and is remedied by refreshing it once. I know this is a clumsy solution, but I'm only a beginner at web site programming. However, I'd welcome knowledge of a neater solution if anyone knows of one.
Thanks