Net_SMTP::rset
Net_SMTP::rset Net_SMTP::rset() – Send the RSET command. Synopsis require_once 'NET/SMTP.php'; mixed Net_SMTP::rset ( ) Sends the RSET SMTP protocol command. Return value returns Returns a PEAR_Error with an error message on any kind of failure, or true on success. Throws throws no exceptions thrown ...
Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетил 17771 программист и 1688 роботов. Сейчас ищут 1047 программистов ...
Результаты поиска
Найдено документов: 717, показано с 51 по 60
Net_Geo::Net_Geo()
Net_Geo::Net_Geo() Net_Geo::Net_Geo() – constructor Synopsis require_once('Net/Geo.php'); bool Net_Geo() ( string $applicationName = '' , string $alternateServerUrl = '' ) Create a new object for IP-based geographical information retrieval. Parameter string $applicationName - Optional application name...
Net_Geo::Net_Geo() Net_Geo::Net_Geo() – constructor Synopsis require_once('Net/Geo.php'); bool Net_Geo() ( string $applicationName = '' , string $alternateServerUrl = '' ) Create a new object for IP-based geographical information retrieval. Parameter string $applicationName - Optional application name...
Net_URL::setOption
Net_URL::setOption Net_URL::setOption – Setting options with Net_URL Synopsis require_once 'Net/URL.php'; string setOption ( string $optionName , string $value ) Setting a Net_URL option Parameter List of options Name Description encode_query_keys ...
Net_URL::setOption Net_URL::setOption – Setting options with Net_URL Synopsis require_once 'Net/URL.php'; string setOption ( string $optionName , string $value ) Setting a Net_URL option Parameter List of options Name Description encode_query_keys ...
findVendor()
findVendor() findVendor() – Finds the vendor of the MAC address stored in the object Synopsis require_once 'Net/MAC.php'; mixed findVendor ( string $getDescription = false , string $macList = null ) This method will search through the database to find a vendor that matches the MAC address stored in the class using setMac(). If the...
findVendor() findVendor() – Finds the vendor of the MAC address stored in the object Synopsis require_once 'Net/MAC.php'; mixed findVendor ( string $getDescription = false , string $macList = null ) This method will search through the database to find a vendor that matches the MAC address stored in the class using setMac(). If the...
Net_SMTP::auth
Net_SMTP::auth Net_SMTP::auth() – Attempt to do SMTP authentication. Synopsis require_once 'NET/SMTP.php'; mixedNet_SMTP::auth ( string $uid , string $pwd , string $method = '' ) This function initializes an authentication session using the supported methods. These are, in order of preference: Digest-MD5,CRAMMD5,LOGIN, and PLAIN. ...
Net_SMTP::auth Net_SMTP::auth() – Attempt to do SMTP authentication. Synopsis require_once 'NET/SMTP.php'; mixedNet_SMTP::auth ( string $uid , string $pwd , string $method = '' ) This function initializes an authentication session using the supported methods. These are, in order of preference: Digest-MD5,CRAMMD5,LOGIN, and PLAIN. ...
Net_SMTP::vrfy
Net_SMTP::vrfy Net_SMTP::vrfy() – Send the VRFY command. Synopsis require_once 'NET/SMTP.php'; mixed Net_SMTP::vrfy ( string $string ) Sends the VRFY SMTP protocol command. Parameter string $string The string to verify Return...
Net_SMTP::vrfy Net_SMTP::vrfy() – Send the VRFY command. Synopsis require_once 'NET/SMTP.php'; mixed Net_SMTP::vrfy ( string $string ) Sends the VRFY SMTP protocol command. Parameter string $string The string to verify Return...
Net_GeoIP::lookupCountryName()
Net_GeoIP::lookupCountryName() Net_GeoIP::lookupCountryName() – returns full country name for specified IP address Synopsis require_once "Net/GeoIP.php"; string lookupCountryName() ( string $addr ) This method returns the full country name for the given IP address. It works with both the free and the non-free databases. ...
Net_GeoIP::lookupCountryName() Net_GeoIP::lookupCountryName() – returns full country name for specified IP address Synopsis require_once "Net/GeoIP.php"; string lookupCountryName() ( string $addr ) This method returns the full country name for the given IP address. It works with both the free and the non-free databases. ...
Net_POP3::Net_POP3()
Net_POP3::Net_POP3() Net_POP3::Net_POP3() – Constructor Synopsis require_once 'Net/POP3.php'; Net_POP3::Net_POP3 ( ) Constructor. Sets up the object variables, and instantiates the socket object. Note This function can not be called statically.
Net_POP3::Net_POP3() Net_POP3::Net_POP3() – Constructor Synopsis require_once 'Net/POP3.php'; Net_POP3::Net_POP3 ( ) Constructor. Sets up the object variables, and instantiates the socket object. Note This function can not be called statically.
Example
Example Example – using Net_Server The following example shows, how easy it is to build a forking server that receives data and sends it back to the user. Creating a simple talkback daemon #!/usr/local/bin/php<?php // server base class require_once 'Net/Server.php'; // base class for the handler require_once 'Net/Server/Handler.php';/** * simple example that implements a talkback. * * Normally this should be a bit more code and in a separate file */class Net_Server_Handler_Talkback extends Net_Server_Handler{ /** * If the user sends data, send it back to him * * @access public * @param integer $clientId * @param string $data */ function onReceiveData( $clientId = 0, $data = "" ) { $this->_server->sendData( $clientId, "You said: $data" ); }} // create a server that forks new processes $server = &Net_Server::create('fork', 'localhost', 9090); $handler = &new Net_Server_Handler_Talkback; // hand over the object that handles server events $server->setCallbackObject($handler); // start the server $server->start();?>...
Example Example – using Net_Server The following example shows, how easy it is to build a forking server that receives data and sends it back to the user. Creating a simple talkback daemon #!/usr/local/bin/php<?php // server base class require_once 'Net/Server.php'; // base class for the handler require_once 'Net/Server/Handler.php';/** * simple example that implements a talkback. * * Normally this should be a bit more code and in a separate file */class Net_Server_Handler_Talkback extends Net_Server_Handler{ /** * If the user sends data, send it back to him * * @access public * @param integer $clientId * @param string $data */ function onReceiveData( $clientId = 0, $data = "" ) { $this->_server->sendData( $clientId, "You said: $data" ); }} // create a server that forks new processes $server = &Net_Server::create('fork', 'localhost', 9090); $handler = &new Net_Server_Handler_Talkback; // hand over the object that handles server events $server->setCallbackObject($handler); // start the server $server->start();?>...
Net_NNTP_Client::selectGroup()
Net_NNTP_Client::selectGroup() Net_NNTP_Client::selectGroup() – select a newsgroup Synopsis require_once 'Net/NNTP/Client.php'; array Net_NNTP_Client::selectGroup ( string $newsgroup ) Selects a specific newsgroup on the NNTP-server Parameter string $newsgroup - Name of the newsgroup to access ...
Net_NNTP_Client::selectGroup() Net_NNTP_Client::selectGroup() – select a newsgroup Synopsis require_once 'Net/NNTP/Client.php'; array Net_NNTP_Client::selectGroup ( string $newsgroup ) Selects a specific newsgroup on the NNTP-server Parameter string $newsgroup - Name of the newsgroup to access ...
Перейти к странице: