LE> Any idea why I'm getting this error? LE> Warning: setcookie() expects parameter 3 to be long, string given in *my LE> script* on line 2
LE> setcookie("mytest", 1, "", "/"); It needs the time to be something not null. If you mean to set 0, use "0" instead of "". Or, time()+somenum (not in quotes). - Julie --> Julie Meloni --> [EMAIL PROTECTED] --> www.thickbook.com Find "Sams Teach Yourself MySQL in 24 Hours" at http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php