For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > June 2007 > cvs: php-master-web /entry cvs-account.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: php-master-web /entry cvs-account.php
Hannes Magnusson

2007-06-18, 7:00 pm

bjori Mon Jun 18 20:35:50 2007 UTC

Modified files:
/php-master-web/entry cvs-account.php
Log:
Sync with phpweb: Add another sanitycheck question


http://cvs.php.net/viewvc.cgi/php-m...5&diff_format=u
Index: php-master-web/entry/cvs-account.php
diff -u php-master-web/entry/cvs-account.php:1.14 php-master-web/entry/cvs-account.php:1.15
--- php-master-web/entry/cvs-account.php:1.14 Sun Jun 17 17:00:48 2007
+++ php-master-web/entry/cvs-account.php Mon Jun 18 20:35:50 2007
@@ -8,6 +8,11 @@
if (empty($name) || empty($email) || empty($username) || empty($passwd) || empty($note))
die("missing some parameters");

+// Sophisticated security/spam protection question
+if (empty($yesno) || $yesno != "yes") {
+ die("You did not fill the form out correctly");
+}
+
$username = strtolower($username);

# these are reserved account names. some of them (like webmaster and group)
Kazuno

2007-06-22, 1:33 am

http://www.videomoviesonline.com/Play?watch=726648
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com