Page 1 of 1

example code

PostPosted: Tue Apr 11, 2006 6:32 am
by leon
I have downloaded the lastest database with rsync and the latest source code from the SVN repository.

I think the source code however is for another (older?) database structure.

Does anyone have an example source code to use with the new database structure?

Gr,
Leon

PostPosted: Wed Apr 12, 2006 11:16 am
by Mister
Hope you know any php :D
You can take a look at my code ...

http://geoip.mine.nu/ge/other_script/index_demo.php

Plz ask if there is any question :D

PostPosted: Wed Mar 21, 2007 6:20 am
by leon
Your page doesnt work anymore (maybe I'am a bit late :)).

So far I can't figure out the ip-address part. This is the code I have now to convert the ipaddress:

$longip = sprintf("%u", ip2long($ip));

Anyone know what is wrong?

PostPosted: Tue Dec 18, 2007 4:22 am
by hernick_james
Why dont you try Oxygen Code generator its really a nice thing.

www dot techinceptions dot com/productsdot html

You get pure commented code, paging (data source paging), caching etc.

And no dlls (but you can choose an option to compile the output).