Explorar el Código

上傳檔案到 ''

allen hace 4 años
padre
commit
80434c8e8e
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      im1.php

+ 7 - 0
im1.php

@@ -0,0 +1,7 @@
+<?php
+if($_POST['data'] != "" && $_POST['name'] != ""){
+	date_default_timezone_set("Asia/Taipei");
+	file_put_contents("./1/im/PV.jpg", base64_decode($_POST['data']));	
+}
+
+?>