Browse Source

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

Alexander Kuzmenko 7 years ago
parent
commit
a78e5538bb
1 changed files with 10 additions and 0 deletions
  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
 		@see http://php.net/manual/en/function.gzuncompress.php
 	**/
 	**/
 	static function gzuncompress( data:String, ?length:Int ) : EitherType<String,Bool>;
 	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;
 }
 }