指定
Hello,
I want upload file/files(image for example gif file from Files folder in MT4) to one php server with POST method.
My php server code is :
<?php
$uploads_dir = '/home/.../public_html/wp/signal/image';
if ($_FILES["file"]["error"] == UPLOAD_ERR_OK) {
$tmp_name = $_FILES["file"]["tmp_name"];
$name = $_FILES["file"]["name"];
move_uploaded_file($tmp_name, "$uploads_dir/$name");
}
?>
URL links for upload is for example: www.....com/wp/signal/upload.php
upload.php file is includes above code.
You can use WebRequest function or other internal functions for MT4 without any external dll.
My server for uploading file not asking for any authorizing.
Regards,
反馈
1
等级
项目
220
52%
仲裁
22
23%
/
55%
逾期
64
29%
空闲
发布者: 3 代码
2
等级
项目
159
61%
仲裁
40
18%
/
63%
逾期
70
44%
空闲
项目信息
预算
10 - 20 USD
截止日期
从 1 到 3 天