setrawcookie

(PHP 5, PHP 7) Send a cookie without urlencoding the cookie value bool setrawcookie ( string $name [, string $value [, int $expire = 0 [, string $path [, string $domain [, bool $secure = false [, bool $httponly = false ]]]]]] ) setrawcookie() is exactly the same as setcookie() except that the cookie value will not be automatically urlencoded when sent to the browser. Returns: Returns TRUE on su

setcookie

(PHP 4, PHP 5, PHP 7) Send a cookie bool setcookie ( string $name [, string $value = "" [, int $expire = 0 [, string $path = "" [, string $domain = "" [, bool $secure = false [, bool $httponly = false ]]]]]] ) setcookie() defines a cookie to be sent along with the rest of the HTTP headers. Like other headers, cookies must be sent before any output from your script (this is a protocol restriction). This requires that yo

pfsockopen

(PHP 4, PHP 5, PHP 7) Open persistent Internet or Unix domain socket connection resource pfsockopen ( string $hostname [, int $port = -1 [, int &$errno [, string &$errstr [, float $timeout = ini_get("default_socket_timeout") ]]]] ) This function behaves exactly as fsockopen() with the difference that the connection is not closed after the script finishes. It is the persistent version of fsockopen().

openlog

(PHP 4, PHP 5, PHP 7) Open connection to system logger bool openlog ( string $ident, int $option, int $facility ) openlog() opens a connection to the system logger for a program. The use of openlog() is optional. It will automatically be called by syslog() if necessary, in which case ident will default to FALSE. Parameters: ident The string ident is added to each messag

long2ip

(PHP 4, PHP 5, PHP 7) Converts an long integer address into a string in (IPv4) Internet standard dotted format string long2ip ( string $proper_address ) The function long2ip() generates an Internet address in dotted format (i.e.: aaa.bbb.ccc.ddd) from the long integer representation. Parameters: proper_address A proper address representation in long integer.

ip2long

(PHP 4, PHP 5, PHP 7) Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer int ip2long ( string $ip_address ) The function ip2long() generates an long integer representation of IPv4 Internet network address from its Internet standard format (dotted string) representation. ip2long() will also work with non-complete IP addresses. Read » http://publibn.boulder.ibm.com/doc_link/en_US/a_do

inet_pton

(PHP 5 >= 5.1.0, PHP 7) Converts a human readable IP address to its packed in_addr representation string inet_pton ( string $address ) This function converts a human readable IPv4 or IPv6 address (if PHP was built with IPv6 support enabled) into an address family appropriate 32bit or 128bit binary structure. Parameters: address A human readable IPv4 or IPv6 address.

inet_ntop

(PHP 5 >= 5.1.0, PHP 7) Converts a packed internet address to a human readable representation string inet_ntop ( string $in_addr ) This function converts a 32bit IPv4, or 128bit IPv6 address (if PHP was built with IPv6 support enabled) into an address family appropriate string representation. Parameters: in_addr A 32bit IPv4, or 128bit IPv6 address.

http_response_code

(PHP 5 >= 5.4.0, PHP 7) Get or Set the HTTP response code int http_response_code ([ int $response_code ] ) If you pass no parameters then http_response_code will get the current status code. If you pass a parameter it will set the response code. Parameters: response_code The optional response_code will set the response code. <?php http_response_code(404); ?>

headers_sent

(PHP 4, PHP 5, PHP 7) Checks if or where headers have been sent bool headers_sent ([ string &$file [, int &$line ]] ) Checks if or where headers have been sent. You can't add any more header lines using the header() function once the header block has already been sent. Using this function you can at least prevent getting HTTP header related error messages. Another option is to use Output Buffering.