cvs: phpdoc /en/reference/network/functions ip2long.xml /entities global.ent

From: Date: Sat, 03 Apr 2004 13:51:25 +0000
Subject: cvs: phpdoc /en/reference/network/functions ip2long.xml /entities global.ent
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359910@lists.php.net to get a copy of this message
nlopess Sat Apr 3 08:51:25 2004 EDT Modified files: /phpdoc/entities global.ent /phpdoc/en/reference/network/functions ip2long.xml Log: fix #27710 http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.172&r2=1.173&ty=u Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.172 phpdoc/entities/global.ent:1.173 --- phpdoc/entities/global.ent:1.172 Thu Apr 1 03:56:02 2004 +++ phpdoc/entities/global.ent Sat Apr 3 08:51:24 2004 @@ -1,6 +1,6 @@ <!-- -*- SGML -*- - $Id: global.ent,v 1.172 2004/04/01 08:56:02 betz Exp $ + $Id: global.ent,v 1.173 2004/04/03 13:51:24 nlopess Exp $ Contains global "macros" for all the XML documents. @@ -114,6 +114,7 @@ <!ENTITY url.installkits "http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/"> <!ENTITY url.instantasp "http://www.stryon.com/products.asp?s=1"> <!ENTITY url.iodbc "http://www.iodbc.org/"> +<!ENTITY url.ip2long.tech "http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/commtrf2/inet_addr.htm"> <!ENTITY url.iptc "http://www.iptc.org/"> <!ENTITY url.ircg "http://www.schumann.cx/ircg/"> <!ENTITY url.iso-3166-3 "http://www.unicode.org/onlinedat/countries.html"> http://cvs.php.net/diff.php/phpdoc/en/reference/network/functions/ip2long.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/network/functions/ip2long.xml diff -u phpdoc/en/reference/network/functions/ip2long.xml:1.4 phpdoc/en/reference/network/functions/ip2long.xml:1.5 --- phpdoc/en/reference/network/functions/ip2long.xml:1.4 Mon Dec 15 11:52:20 2003 +++ phpdoc/en/reference/network/functions/ip2long.xml Sat Apr 3 08:51:25 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.18 --> <refentry id="function.ip2long"> <refnamediv> @@ -18,7 +18,7 @@ <para> The function <function>ip2long</function> generates an IPv4 Internet network address from its Internet standard format (dotted string) - representation. If <parameter>ip_address</parameter> is invalid than + representation. If <parameter>ip_address</parameter> is invalid then <literal>-1</literal> is returned. Note that <literal>-1</literal> does not evaluate as &false; in PHP. <example> @@ -64,6 +64,11 @@ </programlisting> </example> </para> + <para> + <function>ip2long</function> will also work with non-complete ip + adresses. Read <ulink url="&url.ip2long.tech;">&url.ip2long.tech;</ulink> + for more info. + </para> <note> <para> <function>ip2long</function> will return <literal>-1</literal> for

« previous php.doc (#969359910) next »