Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

httpsocket Class Reference
[Http-Socket-Class]

Inheritance diagram for httpsocket:

fsocket List of all members.

Public Member Functions

 httpsocket ($host, $port=80, $timeout=20)
 Class Constructor.
 _httpsocket ()
 Class Destructor.
 httpsocket_flush_errors ()
 Will flush the complete http error buffer.
 httpsocket_get_errorlist ()
 Return error list.
 httpsocket_http_get ($filename="")
 Get Http data.
 httpsocket_http_gethead ($filename="")
 Get Http head.
 httpsocket_http_post ($filename="", $data)
 Post Http data.

Public Attributes

 $httpsocket_error_hdl = 0
 $httpsocket_host
 $httpsocket_port
 $httpsocket_timeout

Constructor & Destructor Documentation

function httpsocket::httpsocket host,
port = 80,
timeout = 20
 

Class Constructor.

Parameters:
$host = Host adress
$port = Connection port
$timeout = Connection timeout


Member Function Documentation

function httpsocket::_httpsocket  ) 
 

Class Destructor.

function httpsocket::httpsocket_flush_errors  ) 
 

Will flush the complete http error buffer.

Returns:
State = true or false

function httpsocket::httpsocket_get_errorlist  ) 
 

Return error list.

Returns:
Error list

function httpsocket::httpsocket_http_get filename = ""  ) 
 

Get Http data.

Parameters:
$filename = Name of file with path ( Standard is an empty string )
Returns:
Data

function httpsocket::httpsocket_http_gethead filename = ""  ) 
 

Get Http head.

Parameters:
$filename = Name of file with path ( Standard is an empty string )
Returns:
Data

function httpsocket::httpsocket_http_post filename = "",
data
 

Post Http data.

Parameters:
$filename = Filename with path
$data = Data to post
Returns:
State = true or false


Member Data Documentation

httpsocket::$httpsocket_error_hdl = 0
 

Error message handler

httpsocket::$httpsocket_host
 

Host adress

httpsocket::$httpsocket_port
 

Socket port

httpsocket::$httpsocket_timeout
 

Socket timeout


The documentation for this class was generated from the following file:
Generated on Fri Aug 26 08:13:53 2005 for PHP-Lib-Xtreme by  doxygen 1.4.3