Creating cookies with PHP for Widows and Macintosh

I discovered a little quirk today when using a php script to write a cookie for users viewing preferences. Apparently you need to write them differently for both mac and pc. It drove me crazy trying to troubleshoot this. One way to write the cookie is as so… setcookie(‘viewingPreferences’, $myCookieVars, time()+60*60*24*365*10, ‘/’, ‘’); But on […]