[git] web/master.git branch master updated. 4fe64df

From: Date: Mon, 23 Jan 2012 20:24:29 +0000
Subject: [git] web/master.git branch master updated. 4fe64df
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12890@lists.php.net to get a copy of this message
The branch, master on web/master.git has been updated from 41fcd1d2e944feb7fb2dc032d6182cc5345a7b3a (commit) to 4fe64dfdc12c4bd8965ba4af73b900a545a012fb (commit) http://git.php.net/?p=web/master.git;a=log;h=4fe64dfdc12c4bd8965ba4af73b900a545a012fb;hp=41fcd1d2e944feb7fb2dc032d6182cc5345a7b3a Summary of changes: entry/event.php | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) -- Log ---------------------------------------- commit 4fe64dfdc12c4bd8965ba4af73b900a545a012fb Author: Rasmus Lerdorf <rasmus@php.net> Date: Mon Jan 23 12:19:17 2012 -0800 Migrate event script diff --git a/entry/event.php b/entry/event.php index 2dbcc9f..5c0c40d 100644 --- a/entry/event.php +++ b/entry/event.php @@ -18,6 +18,11 @@ function day($in) { return strftime('%A',mktime(12,0,0,4,$in,2001)); } +$valid_vars = array('sdesc','email','country','category','type','url','sane','smonth','sday','syear','emonth','eday','eyear','recur','recur_day'); +foreach($valid_vars as $k) { + $$k = isset($_REQUEST[$k]) ? $_REQUEST[$k] : false; +} + if (empty($sdesc) || empty($email) || empty($country) || empty($category) || empty($type) || empty($url)) die("missing some parameters."); Thank you for your contribution.

« previous php.webmaster (#12890) next »