| |
The PHP developers network
595 hits
Dec 01, 2003 2:14 pm |
|
re: re: Get Zip By Distance |
Amandeep Sachdev
| |
Dan,
I know we can call the perlscripts from PHP, however this is not a good idea, as the perl script will be compiled seperately and would use a seperate database connection for processing the result. This is definitely a performance issue. Thats why I want to implement the same in PHP itself.
Thanks, Aman
> Dan Olsen wrote: > >you could always call your perl script from php ;) > >http://us2.php.net/manual/en/function.exec.php > > >codes for a given distance from another zipcode. >> >>I already have a mysql table 'zipcode' as: >> Amandeep Sachdev wrote: >> Hello, >> >>I am looking for a php script which can calculate the zip >>- zip >>- city >>- state >>- county >>- latitude >>- longitude >> >>This table contains more than 40,000 zipcodes in US >> >>I have implemented the same thing in perl using Geo::Distance Module. Is there any php equivalent? >> >>Any help will be greatly appreciated. >> >>Thanks, >>Aman >> Private Reply to Amandeep Sachdev (new win) |
|