[Mapbender-commits] r7285 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 05:54:25 EST 2010


Author: apour
Date: 2010-12-12 02:54:24 -0800 (Sun, 12 Dec 2010)
New Revision: 7285

Modified:
   trunk/mapbender/http/php/mod_createUser.php
Log:
done

Modified: trunk/mapbender/http/php/mod_createUser.php
===================================================================
--- trunk/mapbender/http/php/mod_createUser.php	2010-12-12 10:44:30 UTC (rev 7284)
+++ trunk/mapbender/http/php/mod_createUser.php	2010-12-12 10:54:24 UTC (rev 7285)
@@ -28,13 +28,18 @@
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 
 /*  
- * @security_patch irv open 
+ * @security_patch irv done
  */
-security_patch_log(__FILE__,__LINE__);
-import_request_variables("PG"); 
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
 
+$postvars = explode(",", "name,password,v_password,description,email,phone,department,action");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
 
 
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>



More information about the Mapbender_commits mailing list