note 55565 added to faq

From: Date: Sun, 07 Aug 2005 18:24:24 +0000
Subject: note 55565 added to faq
Groups: php.notes 
Request: Send a blank email to php-notes+get-93203@lists.php.net to get a copy of this message
I start a session <?php session_start() ?> and continue like this.... $_SESSION['S_PHP_LIB']; $errors=array(); $page = $_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']; if (!ereg($page, $_SERVER['HTTP_REFERER'])) $errors[] = "Invalid referer\n"; but even if the information is from the real form, the $errors[] = "Invalid referer\n"; is still executed. i want to prevent spams. ---- Manual Page -- http://www.php.net/manual/en/faq.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+55565 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55565&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55565&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55565&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55565&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55565&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55565&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+55565&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#93203) next »