Răsfoiți Sursa

[php] added externs for move_uploaded_file() and is_uploaded_file()

Alexander Kuzmenko 7 ani în urmă
părinte
comite
a78e5538bb
1 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  1. 10 0
      std/php/Global.hx

+ 10 - 0
std/php/Global.hx

@@ -1212,4 +1212,14 @@ extern class Global {
 		@see http://php.net/manual/en/function.gzuncompress.php
 	**/
 	static function gzuncompress( data:String, ?length:Int ) : EitherType<String,Bool>;
+
+	/**
+		@see http://php.net/manual/en/function.move-uploaded-file.php
+	**/
+	static function move_uploaded_file( filename:String, destination:String ) : Bool;
+
+	/**
+		@see http://php.net/manual/en/function.is-uploaded-file.php
+	**/
+	static function is_uploaded_file( filename:String ) : Bool;
 }