Class Util

Description

Utiliy functions class

Located in /Util.php (line 14)


	
			
Method Summary
 static array httpPost (string $host, string $path, array $data, [string $encoding = null])
Methods
static httpPost (line 29)

Performs an HTTP POST

  • return: ($headers, $data) - the headers and content of the resulting page returned after the POST
  • access: public
array httpPost (string $host, string $path, array $data, [string $encoding = null])
  • string $host: The hostname of the remote web server
  • string $path: The path portion of the URL
  • array $data: A hash where the keys are the POST variable names, the values are the values for those variables
  • string $encoding: The encoding of the content - if this is not supplied when posting to Dapper, the output may be wrong.

Documentation generated on Mon, 31 Mar 2008 08:35:42 -0400 by phpDocumentor 1.3.0RC6