public function post( $url, $request ) 
	{
		$options = array_merge( 
			$this->options, 
			array( 
				'http' => array(
					'method' => "POST",
					'header' => "Content-Type: text/xml",
					'content' => $request
				) 
			) 
		);
		$context = stream_context_create( $options );
		$result  = @file_get_contents( $url, false, $context );
		$this->responseHeaders = $http_response_header;
		if ( !$result )
		{
			throw new Ripcord_TransportException( 'Could not access ' . $url, 
				ripcord::cannotAccessURL );
		}
		return $result;
	}
public function post( $url, $request ) 
	{
		$options = array_merge( 
			$this->options, 
			array( 
				'http' => array(
					'method' => "POST",
					'header' => "Content-Type: text/xml",
					'content' => $request
				) 
			) 
		);
		$context = stream_context_create( $options );
		$result  = @file_get_contents( $url, false, $context );
		$this->responseHeaders = $http_response_header;
		if ( !$result )
		{
			throw new Ripcord_TransportException( 'Could not access ' . $url, 
				ripcord::cannotAccessURL );
		}
		return $result;
	}
public function post ( $ url , $ request ) { $ options = array_merge ( $ this -> options , array ( 'http' => array ( 'method' => "POST" , 'header' => "Content-Type: text/xml" , 'content' => $ request ) ) ) ; $ context = stream_context_create ( $ options ) ; $ result = @ file_get_contents ( $ url , false , $ context ) ; $ this -> responseHeaders = $ http_response_header ; if ( ! $ result ) { throw new Ripcord_TransportException ( 'Could not access ' . $ url , ripcord :: cannotAccessURL ) ; } return $ result ; }
This method posts the request to the given url.
@param string $url The url to post to.
@param string $request The request to post.
@return string The server response
@throws Ripcord_TransportException (ripcord::cannotAccessURL) when the given URL cannot be accessed for any reason.
This method posts the request to the given url .