Jan 19, 2008 #1 jebo100 Technical User Joined May 11, 2007 Messages 52 Location 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 Joined Nov 24, 2003 Messages 10,094 Location 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";