Index: temp/test-xoops.ec-cube.net/html/mainfile.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/mainfile.php	(revision 1092)
+++ temp/test-xoops.ec-cube.net/html/mainfile.php	(revision 1126)
@@ -98,6 +98,7 @@
     }
 	
-	// ¥ª¥Õ¥£¥·¥ã¥ë¥µ¥¤¥ÈDB
-	define ("DEFAULT_DSN", "pgsql://eccube_intro_admin:b8cSLkXf@192.168.0.202/eccube_intro_db");
+	// ¥ª¥Õ¥£¥·¥ã¥ë¥µ¥¤¥ÈURL
+	define ("OFFICIAL_URL", "http://www.ec-cube.net/");
+	define ("REGIST_URL", OFFICIAL_URL . "entry/xoops_regist.php");
 }
 ?>
Index: temp/test-xoops.ec-cube.net/html/register.php
===================================================================
--- temp/test-xoops.ec-cube.net/html/register.php	(revision 1096)
+++ temp/test-xoops.ec-cube.net/html/register.php	(revision 1126)
@@ -29,6 +29,5 @@
 
 include 'mainfile.php';
-require XOOPS_ROOT_PATH."/class/SC_DbConn.php";
-require XOOPS_ROOT_PATH."/class/SC_Query.php";
+require(XOOPS_ROOT_PATH . "/pear/Request.php");
 
 $myts =& MyTextSanitizer::getInstance();
@@ -251,11 +250,13 @@
 				// ¥ª¥Õ¥£¥·¥ã¥ë¥Ú¡¼¥¸¤Ø¤ÎÅÐÏ¿						
 				if($mailmaga) {
-					$objQuery = new SC_QUery();
+					$objHttp = new HTTP_Request(REGIST_URL);
+
+					$objHttp->setMethod(HTTP_REQUEST_METHOD_POST);
+					$objHttp->addPostData("name", $uname);
+					$objHttp->addPostData("email", $email);
 					
-					$sqlval['org_name'] = $uname;
-					$sqlval['email'] = $email;
-					$sqlval["create_date"] = "now()";
-	
-					$objQuery->insert("dtb_user_regist", $sqlval);
+					if (!PEAR::isError($objHttp->sendRequest())) {
+					    $body = $objHttp->getResponseBody();
+					}
 				}
 			    // ¾åÉô¥á¥Ã¥»¡¼¥¸
