Re: [sqlite] Re: Re: ip2long

2006-12-05 Thread Kevin Waterson
This one time, at band camp, John Stanton <[EMAIL PROTECTED]> wrote: > You can add a custom function which calls the dotted IP to IP function. yeah, thats what I was hoping to avoid. So, my solution is to use awk to snarf the IP addresses from csv file before import and the convert to long IP a

Re: [sqlite] Re: Re: ip2long

2006-12-05 Thread Kevin Waterson
This one time, at band camp, "Trevor Talbot" <[EMAIL PROTECTED]> wrote: > I'd store the IPs in the DB in integer form as Lloyd suggested, if > range queries are your goal. Do conversion to and from display format > in the application. Yes, they are stored as INTEGER. and the conversion outside

Re: [sqlite] Re: Re: ip2long

2006-12-05 Thread Kevin Waterson
This one time, at band camp, John Stanton <[EMAIL PROTECTED]> wrote: > I suspect that you might find these blocks to be networks and subnets > and consequently identified by the octets in the dotted IP. yes, they would be nets and subnets. But how to identify them or single out a net/subnet? Ki

Re: [sqlite] Re: Re: ip2long

2006-12-04 Thread Kevin Waterson
This one time, at band camp, John Stanton <[EMAIL PROTECTED]> wrote: > Are you actually searching for membership in a class A, B or C network > or perhaps a subnet? If you are you can use the dotted format to your > advantage. No, The search is for which registry owns the block of IPs the that

Re: [sqlite] Re: Re: ip2long

2006-12-04 Thread Kevin Waterson
This one time, at band camp, John Stanton <[EMAIL PROTECTED]> wrote: > It looks as if you are looking to see if an address belongs to a > particular class B network. Are all your searches done that way? > > If they are you may be able to use a regular expression to do your search. well, the r

Re: [sqlite] Re: Re: Re: ip2long

2006-12-04 Thread Kevin Waterson
This one time, at band camp, "Igor Tandetnik" <[EMAIL PROTECTED]> wrote: > ip between '81.163.0.0' and '81.163.999.999' This would require me know the value of the range before selecting. The addittion of the IP plus the range is what gets me. How to go about it? Kind regards Kevin -- "Democra

Re: [sqlite] Re: Re: ip2long

2006-12-04 Thread Kevin Waterson
This one time, at band camp, "Igor Tandetnik" <[EMAIL PROTECTED]> wrote: > I don't quite understand. To continue your example, exactly which IP > addresses are considered to fall into the range "65536"? How do you > figure 1.2.3.4 is in this range, if indeed it is? The begging IP may be 81.163.0.

Re: [sqlite] Re: ip2long

2006-12-04 Thread Kevin Waterson
This one time, at band camp, "Igor Tandetnik" <[EMAIL PROTECTED]> wrote: > How is the range specified? In the database the IP is 1.2.3.4 and the range is eg: 65536 Kind regards Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contest

[sqlite] ip2long

2006-12-04 Thread Kevin Waterson
How can I SELECT an IP within a range? All my IP's are stored as 1.2.3.4 but I need to check if each is within a range of long IP's. Can this be done with SQLite? or do I need some sort of external ip2long() function to throw at it? Kind regards kevin -- "Democracy is two wolves and a lamb voti

Re: [sqlite] question about php_pdo_sqlite

2006-06-01 Thread Kevin Waterson
This one time, at band camp, "yuyen" <[EMAIL PROTECTED]> wrote: > HI, JC > I use php_do_sqlite with PHP 5.1.4 and Sqlite 3.2.8 on Windows XP. The > following is my coding: -8< snip try { $dbh = new PDO("sqlite:counter/cntdata.sq3"; /*** echo a message s

Re: [sqlite] How to get the lastest version of SQLITE with PHP ???

2006-05-07 Thread Kevin Waterson
This one time, at band camp, Ivan Voras <[EMAIL PROTECTED]> wrote: > On my platform (FreeBSD) the bundled version is not > used by default so that's how I came to the wrong > conclusion. If you can rebuild it from scratch, maybe > you also can exclude the bundled library. Other than this, you cou

Re: [sqlite] newbie asks for help: can sqlite store files??

2003-12-27 Thread Kevin Waterson
al&ie=UTF-8&oe=UTF-8&hl=en&btnG=Google+Search&meta= Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_|

[sqlite] locking

2003-11-04 Thread Kevin Waterson
-- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [sqlite] Big Players League

2003-11-04 Thread Kevin Waterson
these items in this mail? Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \

Re: [sqlite] Web Database Manager for SQLite

2003-10-21 Thread Kevin Waterson
Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \____) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [sqlite] Web Database Manager for SQLite

2003-10-21 Thread Kevin Waterson
uage), lol :) -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: [sqlite] Web Database Manager for SQLite

2003-10-21 Thread Kevin Waterson
in php4. Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [sqlite] Web Database Manager for SQLite

2003-10-21 Thread Kevin Waterson
he year. Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTEC

Re: [sqlite] Web Database Manager for SQLite

2003-10-21 Thread Kevin Waterson
This one time, at band camp, Kevin Waterson <[EMAIL PROTECTED]> wrote: > > I thought I would ask before starting one > > http://sourceforge.net/projects/sqlite-admin/ screen shots here... http://ww

Re: [sqlite] Web Database Manager for SQLite

2003-10-21 Thread Kevin Waterson
rojects/sqlite-admin/ Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waters

Re: [sqlite] AUTO INCREMENT

2003-10-19 Thread Kevin Waterson
rds Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \____) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [sqlite] AUTO INCREMENT

2003-10-19 Thread Kevin Waterson
your time. Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \) \) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [

Re: [sqlite] AUTO INCREMENT

2003-10-19 Thread Kevin Waterson
This one time, at band camp, Kevin Waterson <[EMAIL PROTECTED]> wrote: > OK, that sounds fine, but is it possible to determine the type of field so my script > will be able to add the quotes if it is of type INTEGER? I guess what I really need is something like MySQL's mysql_f

Re: [sqlite] AUTO INCREMENT

2003-10-19 Thread Kevin Waterson
add the quotes if it is of type INTEGER? Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[sqlite] AUTO INCREMENT

2003-10-19 Thread Kevin Waterson
g something wrong/insane here. Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) Kevin Waterson Port Macquarie, Australia --

Re: [sqlite] Moving the SQLite mailing list

2003-10-18 Thread Kevin Waterson
morrow and any other messages are archived with the current system? Kind regards Kevin -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \

Re: [sqlite] Testing the new SQLite mailing list

2003-10-16 Thread Kevin Waterson
bscribe if that > is your choice. Seems to work fine :) -- __ (_ \ _) ) | / / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \) \_||_| \) \) K