note 29583 added to function.stristr

From: Date: Tue, 18 Feb 2003 11:09:27 +0000
Subject: note 29583 added to function.stristr
Groups: php.notes 
Request: Send a blank email to php-notes+get-44140@lists.php.net to get a copy of this message
Google and other search spiders don't like sessions so you you can control this using stristr function. if (!stristr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'Googlebot') && !stristr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'InternetSeer') && !stristr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'slurp@inktomi.com;')){ session_start(); } -- http://www.php.net/manual/en/function.stristr.php http://master.php.net/manage/user-notes.php?action=edit+29583 http://master.php.net/manage/user-notes.php?action=delete+29583 http://master.php.net/manage/user-notes.php?action=reject+29583

« previous php.notes (#44140) next »