On Sat, 15 Sep 2001, Mihai Ilinca wrote:

>
> > +-----+------------+------------+
> > | cid | ip_src     | ip_dst     |
> > +-----+------------+------------+
> > |   1 | 3253200495 | 3232235795 |
> > +-----+------------+------------+
> >     ^^^^^^^^^^   ^^^^^^^^^^
> Din cate am verificat eu acuma ar trebui sa mearga:
> x=3253200495
> ip4=x mod 256 #ip4 : 19
> x=x div 256
> ip3=x mod 256 #ip3 : 1
> x=x div 256
> ip2=x mod 256 #ip2 : 168
> x=x div 256
> ip1=x         #fara mod ca nu mai are rost; ip1 : 192
> ip=str (ip1)+'.'+str (ip2)+'.'+str (ip3)+'.'str (ip4)

thx .. got it.
Acum, one more Q: de ce in php(-ul meu),
3232235795 % 256 da 0 ?

-- 
Cristian Dumitrescu
Admin

[EMAIL PROTECTED]
[EMAIL PROTECTED]

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui