<? include "curlexec.php"; $params['upload'] = base64_encode(file_get_contents("10x4.jpg")); echo "post files".$params['upload']; CURLrequestPOST("http://dev.prmsys.net/files.php", '', $params);