PHPã®cURLé¢æ°ã使ã£ã¦ãHTTPã®POSTããããµã³ãã« 2013/11/11 <?php $url = "http://requestb.in/vpza6qvp"; $postdata = array("field1" => "x", "field2" => "123"); $ch = curl_init($url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata); $result = curl_exec($ch); curl_close($ch); echo $result; XMLã§POSTããä¾ã$postdata ã«XMLãæååã§ä¸ãã¦ããªã¯ã¨ã¹ãããã
MySQLã®ã¤ã³ã¹ãã¼ã«ã«é¢ããã¡ã¢æ¸ãã 1.ã¤ã³ã¹ãã¼ã«å¾ã®æ³¨æ (1) rootã«ãã¹ã¯ã¼ããè¨å®ããã (2) å¿åã¦ã¼ã¶ãåé¤ããã å¿åã¦ã¼ã¶ã¯test*ãã¼ã¿ãã¼ã¹ã«å¯¾ãã¦ãããæä½ãã§ããªããä¸å¿åé¤ãã¦ãããæ¹ãããã mysql> DELETE FROM mysql.user WHERE user=''; 2.ãã¼ã¢ã³èµ·åã¨åæ¢ [èµ·å] # mysqld_safe --user=mysql & ä¸è¨ã¯mysqlã¨ããUnixã¦ã¼ã¶ã§ãã¼ã¢ã³ãèµ·åãã(ãªãã§ãããããrootã ã¨ã»ãã¥ãªãã£ä¸ã¾ããã®ã§ãmysqlç¨ã«ã¢ã«ã¦ã³ããç¨æããã®ããã)ãèµ·åã§ããªãå ´åã¯ãã¨ã©ã¼ãã°ã調æ»ããã ã¨ã©ã¼ãã°ã®æ ¼ç´å ´æã¯my.cnfãèµ·åæã®ãªãã·ã§ã³(--log)ã§æå®ã§ãããæå®ãã¦ããªãå ´åã¯ã mysql-data-dir/<ãã¹ãå>.err ã«æ ¼ç´ããã¦ãããèª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}