cvs: phpweb /manual add-note.php

From: Date: Thu, 28 Nov 2002 15:18:59 +0000
Subject: cvs: phpweb /manual add-note.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13919@lists.php.net to get a copy of this message
imajes Thu Nov 28 10:18:59 2002 EDT Modified files: /phpweb/manual add-note.php Log: more things that break this.. Index: phpweb/manual/add-note.php diff -u phpweb/manual/add-note.php:1.35 phpweb/manual/add-note.php:1.36 --- phpweb/manual/add-note.php:1.35 Wed Oct 30 03:50:48 2002 +++ phpweb/manual/add-note.php Thu Nov 28 10:18:59 2002 @@ -22,6 +22,10 @@ $error = ''; +if($note && stristr($user, "|")) { + $error = "You have included bad characters within your username. We appreciate you may want to obfusicate your email further, but we now have a system in place to do this for you."; +} + if ($note && strlen($note) >= 4096) { $error = "Your note is too long. You'll have to make it shorter before you can post it. Keep in mind that this is not the place for long code examples!"; }

« previous php.mirrors (#13919) next »