xProteuSx Posted December 1, 2006 Share Posted December 1, 2006 What the heck does this error mean?"Warning: setcookie() expects parameter 3 to be long"My cookie line look something like this:setcookie("randomizer", "$randomkey", "time()+14400", ".sub.mysite.com"); Quote Link to comment Share on other sites More sharing options...
gluck Posted December 1, 2006 Share Posted December 1, 2006 Put a proper time value in the third argument Quote Link to comment Share on other sites More sharing options...
xProteuSx Posted December 1, 2006 Author Share Posted December 1, 2006 I figured it out ... too many quotes ... It works if I put it in like this:setcookie("randomizer", $randomkey, time()+14400, ".sub.mysite.com", 0); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.