|
@@ -0,0 +1,21 @@
|
|
|
|
+<?php
|
|
|
|
+//2020/02/14_c1.php_V1.0(新建立),存放位置:毛豆伺服器的http://60.250.156.234/cust/
|
|
|
|
+
|
|
|
|
+foreach($_POST as $key => $value){
|
|
|
|
+ $$key = $value;}
|
|
|
|
+
|
|
|
|
+$namea =substr($_POST['name_ira21'], 16);
|
|
|
|
+$nameb =substr($_POST['name_na21'], 16);
|
|
|
|
+
|
|
|
|
+echo $namea , $nameb;
|
|
|
|
+
|
|
|
|
+/* ir_image1 a.tif~a8.tif */
|
|
|
|
+if($_POST['data_ira21'] != "" && $namea != ""){
|
|
|
|
+ file_put_contents("./1/c/"."$namea".".tif", base64_decode($_POST['data_ira21']));
|
|
|
|
+}
|
|
|
|
+/* n_image1 b.tif~b8.tif */
|
|
|
|
+if($_POST['c_na21'] != "" && $nameb != ""){
|
|
|
|
+ file_put_contents("./1/c/"."$nameb".".tif", base64_decode($_POST['c_na21']));
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+?>
|