downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/ref.network.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.network.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'ref.network.php',
   
1 => 'Network Functions',
  ),
 
'up' =>
  array (
   
0 => 'book.network.php',
   
1 => 'Network',
  ),
 
'prev' =>
  array (
   
0 => 'network.constants.php',
   
1 => 'Predefined Constants',
  ),
 
'next' =>
  array (
   
0 => 'function.checkdnsrr.php',
   
1 => 'checkdnsrr',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">Network Functions</h1>

 






































































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.checkdnsrr.php">checkdnsrr</a> — Check DNS records corresponding to a given Internet host name or IP address</li><li><a href="function.closelog.php">closelog</a> — Close connection to system logger</li><li><a href="function.define-syslog-variables.php">define_syslog_variables</a> — Initializes all syslog related variables</li><li><a href="function.dns-check-record.php">dns_check_record</a> — Alias of checkdnsrr</li><li><a href="function.dns-get-mx.php">dns_get_mx</a> — Alias of getmxrr</li><li><a href="function.dns-get-record.php">dns_get_record</a> — Fetch DNS Resource Records associated with a hostname</li><li><a href="function.fsockopen.php">fsockopen</a> — Open Internet or Unix domain socket connection</li><li><a href="function.gethostbyaddr.php">gethostbyaddr</a> — Get the Internet host name corresponding to a given IP address</li><li><a href="function.gethostbyname.php">gethostbyname</a> — Get the IPv4 address corresponding to a given Internet host name</li><li><a href="function.gethostbynamel.php">gethostbynamel</a> — Get a list of IPv4 addresses corresponding to a given Internet host
   name</li><li><a href="function.gethostname.php">gethostname</a> — Gets the host name</li><li><a href="function.getmxrr.php">getmxrr</a> — Get MX records corresponding to a given Internet host name</li><li><a href="function.getprotobyname.php">getprotobyname</a> — Get protocol number associated with protocol name</li><li><a href="function.getprotobynumber.php">getprotobynumber</a> — Get protocol name associated with protocol number</li><li><a href="function.getservbyname.php">getservbyname</a> — Get port number associated with an Internet service and protocol</li><li><a href="function.getservbyport.php">getservbyport</a> — Get Internet service which corresponds to port and protocol</li><li><a href="function.header-remove.php">header_remove</a> — Remove previously set headers</li><li><a href="function.header.php">header</a> — Send a raw HTTP header</li><li><a href="function.headers-list.php">headers_list</a> — Returns a list of response headers sent (or ready to send)</li><li><a href="function.headers-sent.php">headers_sent</a> — Checks if or where headers have been sent</li><li><a href="function.inet-ntop.php">inet_ntop</a> — Converts a packed internet address to a human readable representation</li><li><a href="function.inet-pton.php">inet_pton</a> — Converts a human readable IP address to its packed in_addr representation</li><li><a href="function.ip2long.php">ip2long</a> — Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address</li><li><a href="function.long2ip.php">long2ip</a> — Converts an (IPv4) Internet network address into a string in Internet standard dotted format</li><li><a href="function.openlog.php">openlog</a> — Open connection to system logger</li><li><a href="function.pfsockopen.php">pfsockopen</a> — Open persistent Internet or Unix domain socket connection</li><li><a href="function.setcookie.php">setcookie</a> — Send a cookie</li><li><a href="function.setrawcookie.php">setrawcookie</a> — Send a cookie without urlencoding the cookie value</li><li><a href="function.socket-get-status.php">socket_get_status</a> — Alias of stream_get_meta_data</li><li><a href="function.socket-set-blocking.php">socket_set_blocking</a> — Alias of stream_set_blocking</li><li><a href="function.socket-set-timeout.php">socket_set_timeout</a> — Alias of stream_set_timeout</li><li><a href="function.syslog.php">syslog</a> — Generate a system log message</li></ul>
</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites