Eu as zice sa-ti adaugi o functie in mysql (UDF) care sa faca conversia.
Ai exemplu in manualul mysql (parca capitolul. 16).
Am avut si eu nevoie la un moment dat
de niste functii de conversie pentru niste date tip date/time
pastrate in niste intregi dupa niste algoritmi mai ciudati.
Ai avantajul ca se ruleaza pe server si poti face si select
in functie de adresa dotted.
jk
> > teo@teo:/tmp > host 3253200495
> > 111.230.231.193.IN-ADDR.ARPA domain name pointer ns.lumina.ro
> >
>
> [omega@ns devel]$ host 3253200495
> Host 2147483647.in-addr.arpa. not found: 3(NXDOMAIN)
>
> Mi-am facut si eu un warpper.. cam la fel .. in c++, dar
> preferabil era sa pot face conversia, direct din php.
>
> thx anyway :)
>
> --
> Cristian Dumitrescu
> Admin
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.