note 84591 deleted from function.strpos by danbrown

From: Date: Mon, 21 Jul 2008 03:28:17 +0000
Subject: note 84591 deleted from function.strpos by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142401@lists.php.net to get a copy of this message
Note Submitter: pascalxusNOSPAM at yahoo dot com ---- function bouncer( $budy ) { $ref = $_SERVER['REFERER']; $n = strpos( $ref, $budy ); if( strpos( $ref, $budy ) != 7 ) { echo "incorrect referer"; exit; } } sample question: http://www.codesplunk.com/nr/questions/php14.html

« previous php.notes (#142401) next »