I didnt really get your question, but as I understood you you need something that can substitute fsockopen to send a file/make a request. You can do that with the function I mentioned, take a look over here: http://uk.php.net/file_get_contents