Browse Source

上傳檔案到 ''

allen 4 years ago
parent
commit
80434c8e8e
1 changed files with 7 additions and 0 deletions
  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']));	
+}
+
+?>