[PHP] PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and4.2.1

2002-07-22 Thread Marko Karppinen
PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1 Issued on: July 22, 2002 Software: PHP versions 4.2.0 and 4.2.1 Platforms: All The PHP Group has learned of a serious security vulnerability in PHP versions 4.2.0 and 4.2.1. An intruder may be able to execute arbit

[PHP] Displaying special characters on the web

2002-02-20 Thread Marko Karppinen
After much trial and error, I've learned what it takes to display special characters (such as em or en dashes and curly quotes etc.) reliably on practically any browser. My recommended steps are: - Save the content in your database and XML files as UTF-8 - Don't announce your charset as UTF-8

[PHP] Airport location database

2002-02-11 Thread Marko Karppinen
This may be slightly off the topic, but I imagine there may be someone interested here. I've just put together an SQL table from the data of a little more than 8000 airports around the world. It has most of the stuff you'd find useful, including the three-letter airport codes, two-letter country c