Re: BUG: sprintf(%u) and ip2long
| From: | Curt Zirzow | Date: | Tue, 14 Oct 2003 22:46:15 +0000 |
| Subject: | Re: BUG: sprintf(%u) and ip2long | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166125@lists.php.net to get a copy of this message | ||
* Thus wrote Daevid Vincent (daevid@daevid.com):
> Good point...
>
> v4.1.2, Linux stripples.devel.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15
> 06:41:59 EDT 2002 i686 unknown
> This program makes use of the Zend Scripting Language Engine:
> Zend Engine v1.1.1, Copyright (c) 1998-2001 Zend Technologies
> with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend
> Technologies
> Apache/1.3.22
>
> Also, if you notice, in my example, the problem was using the sprintf (%u)
> as per the example on the php website. Just doing like you did works for me
> too...
still works using sprintf() with 4.3.3
http://zirzow.dyndns.org/html/php/tests/string/ip2long.php
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/