similar function in pear?
is there a similar function for http_post_fields from pecl_http? my current host only installs extensions from http://pear.php.net/ (not sure why, but i don't have ssh access but rather a web gui, and can only find extensions avai. from there)

here is my code


    <?php
    	$files = array(
    	    array(
    	        'name' => 'torrent',			// Don't change
    	        'type' => 'application/x-bittorrent',
    	        'file' => '0-273-70244-0.pdf.torrent'			// Full path for file to upload
    	    )
    	);
    
    	$http_resp = http_post_fields( 'http://torcache.net/autoupload.php', array(), $files );
    	$tmp = explode( "\r\n", $http_resp );
    	$infoHash = substr( $tmp[count( $tmp ) - 1], 0, 40 );
    	var_dump($infoHash);
    	unset( $tmp, $http_resp, $files );


similar function in pear?
===

is there a similar function for http_post_fields from pecl_http? my current host only installs extensions from http://pear.php.net/ (not sure why, but i don't have ssh access but rather a web gui, and can only find extensions avai. from there)

here is my code


    <?php
    	$files = array(
    	    array(
    	        'name' => 'torrent',			// Don't change
    	        'type' => 'application/x-bittorrent',
    	        'file' => '0-273-70244-0.pdf.torrent'			// Full path for file to upload
    	    )
    	);
    
    	$http_resp = http_post_fields( 'http://torcache.net/autoupload.php', array(), $files );
    	$tmp = explode( "\r\n", $http_resp );
    	$infoHash = substr( $tmp[count( $tmp ) - 1], 0, 40 );
    	var_dump($infoHash);
    	unset( $tmp, $http_resp, $files );

