2023-12-03 09:58:50 +08:00

15 lines
238 B
PHP

<?php
require __DIR__ . '/../vendor/autoload.php';
use mon\util\Network;
$path = __DIR__ . '/img.php';
$url = 'http://localhost/index.php';
$data = Network::instance()->sendFile($url, $path, ['a' => 1, 'b' => 2]);
var_dump($data);