Jan 19, 2008 #1 jebo100 Technical User May 11, 2007 52 PH a simple problem with cookies which i can not find in my manual. how can i tell if visitors browser is accepting cookies or not from within php? thanks!!!
a simple problem with cookies which i can not find in my manual. how can i tell if visitors browser is accepting cookies or not from within php? thanks!!!
Jan 19, 2008 1 #2 jpadie Technical User Nov 24, 2003 10,094 FR set a cookie and then test for it at subsequent page impressions. Code: if (isset($_COOKIE['mycookiename'])){ $e = ''; } else { $e = 'not '; } echo "cookie is $e set"; Upvote 0 Downvote
set a cookie and then test for it at subsequent page impressions. Code: if (isset($_COOKIE['mycookiename'])){ $e = ''; } else { $e = 'not '; } echo "cookie is $e set";