' . xml_esc($s) . ' insert 1234 console guest guest utf-8 ' . xml_esc($f['name']) . ' ' . (1 ? '' . xml_esc($t) . '' : '') . ' 100 ' . xml_esc($ext) . ' ' . base64_encode(file_get_contents($f['tmp_name'])) . ' '; // execute Siets command $reply = http_post($p, "Content-Type: text/xml\r\nContent-Length: " . strlen($data) . "\r\n", $data); if ($reply === FALSE) { $reply = 'Could not connect to Siets server!'; $display_reply = FALSE; } } else { $reply = 'File upload failed!'; $display_reply = FALSE; } } ?> Siets HTTP API conversion demo

File upload to Siets Server using HTTP API built-in conversion tool

Upload file

Storage:
Title:
File:

Response: