fsockopen PHP Funktionen : PHP Übersicht : PHP Manual

fsockopen

PHP Function fsockopen / PHP Funktion fsockopen

phplist » Webkatalog Script - Link Script » PHP Function Coder » fsockopen
PHP Funktion
fsockopen ( phplist Code 100% Relevanz )
Rubrik
Netzwerk Funktionen
Kurzform
fsockopen -- Stellt eine Internet- oder Unix-Domain-Socket-Verbindung her
Vorschau
...fsockopen fsockopen (PHP 3, PHP 4, PHP 5) fsockopen -- Stellt eine Internet- oder Unix-Domain-Socket-Verbindung her Beschreibung: int fsockopen ( string target, int port [, int errno [, string errstr [, double timeout]]] ) Öffnet eine Socket-Verbindung zum Internet (AF_INET, unter Verwendung von TCP oder UDP) oder unter Unix (AF_UNIX). Für eine Internet-...
PHP Manual
[ fsockopen php.net ]

PHP Funktion
Netzwerk Funktionen ( phplist Code 29% Relevanz )
Rubrik
Funktionsreferenz
Kurzform
-----
Vorschau
... -- Initialisiert alle SysLog bezogenen Konstanten dns_check_record -- Synonym für checkdnsrr() dns_get_mx -- Synonym für getmxrr() dns_get_record -- Fetch DNS Resource Records associated with a hostname fsockopen -- Stellt eine Internet- oder Unix-Domain-Socket-Verbindung her gethostbyaddr -- Ermittelt den zur angegebenen IP-Adresse passenden Internet Host Namen gethostbyname -- Ermittelt die zum angegebenen Internet Host Namen ...
PHP Manual
[ Netzwerk Funktionen php.net ]

PHP Funktion
Accepting Arguments ( phplist Code 29% Relevanz )
Rubrik
Zend API: Hacking the Core of PHP
Kurzform
-----
Vorschau
...in the accepted range. After that, zend_get_parameters_array_ex() is used to fill parameter_array with valid pointers to the argument values. A very clever implementation of this can be found in the code handling PHP's fsockopen() located in ext/standard/fsock.c , as shown in Beispiel 46-6 . Don't worry if you don't know all the functions used in this source yet; we'll get to them shortly. Beispiel 46-6. PHP's implementation of variable ...
PHP Manual
[ Accepting Arguments php.net ]

PHP Funktion
Stream Functions ( phplist Code 24% Relevanz )
Rubrik
Funktionsreferenz
Kurzform
-----
Vorschau
....txt" ); ?> Beispiel 2. Making a POST request to an https server <?php /* Send POST request to https://secure.example.com/form_action.php * Include form elements named "foo" and "bar" with dummy values */ $sock = fsockopen ( "ssl://secure.example.com" , 443 , $errno , $errstr , 30 ); if (! $sock ) die( "$errstr ($errno) \n " ); $data = "foo=" . urlencode ( "Value for Foo" ) . "&bar=" . urlencode ( "Value for Bar" ); fwrite ( $sock , "...
PHP Manual
[ Stream Functions php.net ]

PHP Funktion
stream_set_timeout ( phplist Code 15% Relevanz )
Rubrik
Stream Functions
Kurzform
stream_set_timeout -- Set timeout period on a stream
Vorschau
... FALSE . When the stream times out, the 'timed_out' key of the array returned by stream_get_meta_data() is set to TRUE , although no error/warning is generated. Beispiel 1. stream_set_timeout() example <?php $fp = fsockopen ( "www.example.com" , 80 ); if (! $fp ) { echo "Unable to open\n" ; } else { fwrite ( $fp , "GET / HTTP/1.0\r\n\r\n" ); stream_set_timeout ( $fp , 2 ); $res = fread ( $fp , 2000 ); $info = stream_get_meta_data ( $fp ); ...
PHP Manual
[ stream_set_timeout php.net ]

PHP Funktion
dns_get_record ( phplist Code 9% Relevanz )
Rubrik
Netzwerk Funktionen
Kurzform
dns_get_record -- Fetch DNS Resource Records associated with a hostname
Vorschau
...IN [ttl] => 81241 ) [4] => Array ( [host] => ns2.easydns.com [type] => A [ip] => 216.220.40.244 [class] => IN [ttl] => 81241 ) ) See also dns_get_mx() , and dns_check_record() dns_get_mx fsockopen...
PHP Manual
[ dns_get_record php.net ]

PHP Funktion
gethostbyaddr ( phplist Code 9% Relevanz )
Rubrik
Netzwerk Funktionen
Kurzform
gethostbyaddr -- Ermittelt den zur angegebenen IP-Adresse passenden Internet Host Namen
Vorschau
...wird die ip_address gegeben. Beispiel 1. Ein einfaches gethostbyaddr() -Beispiel <?php $hostname = gethostbyaddr ( $_SERVER [ 'REMOTE_ADDR' ]); echo $hostname ; ?> Siehe auch gethostbyname() gethostbynamel() fsockopen gethostbyname...
PHP Manual
[ gethostbyaddr php.net ]