Recommend this page to a friend! |
Download .zip |
Info | View files (31) | Download .zip | Reputation | Support forum (4) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-10-17 (10 years ago) | 67% | Total: 5,410 | All time: 438 This week: 1,042 |
Version | License | Categories | ||||
ocities 1.0.0 | Free for non-comm... | Geography, AJAX |
Description | Author | ||||||||||||||
This package can be used to lookup for cities and the respective zip codes. |
|
[PHP5] && [PHP4] This script is used to look for cities and zip codes, via xmlhttp request. It is very simple : If you input letters, the script will look for all the cities and their zip code with a name beginning by these letters, and display them. Same stuff if you input numbers : the script will look for cities whose zip code begins with these numbers. You can sort the list displayed, ordering them by the names, or the zip codes. A joker is available : * Use it to display ALL the cities (beware, it can take a loooong time...there are currently 40000 cities in the data file). Currently, the data file only contains all the French cities. You can change the data file when you call the constructor of the 'ocity' class. Data must be formatted that way : city \tab||several_spaces zip_code\endline city \tab||several_spaces zip_code\endline city \tab||several_spaces zip_code\endline ...and so on |
Files |
File | Role | Description | ||
---|---|---|---|---|
css (1 file) | ||||
docs (1 directory) | ||||
villes (2 files, 2 directories) | ||||
villes_normal (1 file, 2 directories) | ||||
readme.txt | Doc. | Readme file |
Files | / | docs | / | english | / | classes | / | city |
File | Role | Description | ||
---|---|---|---|---|
oajax (5 files) | ||||
ocity (7 files) | ||||
index.html | Doc. | Index doc page for the package |
Files | / | docs | / | english | / | classes | / | city | / | oajax |
File | Role | Description |
---|---|---|
buildAjax.html | Doc. | Doc |
class_oajax.html | Doc. | Doc |
search.html | Doc. | doc |
setFooter.html | Class | doc |
setHeader.html | Doc. | doc |
Files | / | docs | / | english | / | classes | / | city | / | ocity |
File | Role | Description |
---|---|---|
aVilles.html | Doc. | doc |
class_ocity.html | Doc. | doc |
getFirst.html | Doc. | doc |
getSearch.html | Doc. | doc |
sResult.html | Doc. | doc |
sSearch.html | Doc. | doc |
__construct.html | Doc. | doc |
Files | / | villes |
Files | / | villes | / | php4 |
File | Role | Description |
---|---|---|
oajax.cls.php | Class | PHP4 oajax class |
ocity.cls.php | Class | PHP4 ocity class |
phonex.cls.php | Class | Phonex class |
soundex2.cls.php | Class | Soundex2 class |
Files | / | villes | / | php5 |
File | Role | Description |
---|---|---|
oajax.cls.php | Class | PHP5 oajax class |
ocity.cls.php | Class | PHP5 ocity class |
phonex.cls.php | Class | Phonex class |
soundex2.cls.php | Class | Soundex2 class |
Files | / | villes_normal |
Files | / | villes_normal | / | php4 |
File | Role | Description |
---|---|---|
oajax.cls.php | Class | Ajax class |
ocity.cls.php | Class | ocity class |
Files | / | villes_normal | / | php5 |
File | Role | Description |
---|---|---|
oajax.cls.php | Class | Oajax class |
ocity.cls.php | Class | Ocity class |
ocities-2006-10-17.zip 124KB | |
ocities-2006-10-17.tar.gz 102KB | |
Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
Soundex 2 | .zip .tar.gz | To use the new search features | Conditional |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.