* Thus wrote Justin French: > I have an event CMS where really, I should know the TZ of the events, > which can happen world wide. However the user base is not computer > heads, so I can't just "ask them". > > So, I'm faced with the prospect of making an educated guess based on > the Country, State and Capital City information provided by the user... > possibly I could interface with the files in /usr/share/zoneinfo/, or > perhaps there's a database I can download to hook into.
It could be possible to figure out what zone one is in via the zone.tab file. It probably will be a lot of work just to figure that out, not to mention you need to be able to find the coordinates of the persons Country/State. Curt -- Quoth the Raven, "Nevermore." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php