cvs: phpweb / cal.php

From: Date: Wed, 11 Jul 2001 21:14:00 +0000
Subject: cvs: phpweb / cal.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5467@lists.php.net to get a copy of this message
rasmus Wed Jul 11 17:14:00 2001 EDT Modified files: /phpweb cal.php Log: Oops, forgot reject code Index: phpweb/cal.php diff -u phpweb/cal.php:1.2 phpweb/cal.php:1.3 --- phpweb/cal.php:1.2 Wed Jul 11 17:04:05 2001 +++ phpweb/cal.php Wed Jul 11 17:13:59 2001 @@ -403,6 +403,13 @@ if(!$result) echo mysql_error(); } } + if(isset($HTTP_POST_VARS['Reject_Selected_x']) || isset($HTTP_POST_VARS['Reject_Selected']) || isset($HTTP_POST_VARS['Reject_Selected_y'])) { + foreach($entries as $entry=>$val) { + $result = mysql_query("delete from phpcal where id=$entry"); + if(!$result) echo mysql_error(); + } + } + } else { echo "<h2 class=\"error\">The username or password you supplied was incorrect.</h2>\n"; $ap = 1;

« previous php.mirrors (#5467) next »