Just to make sure I found this again later...
http://blogs.oracle.com/opal/2008/03/location_awareness_with_oracle.html gives an example of Oracle Spatial queried from PHP
http://www.oracle.com/technology/tech/php/index.html is the Oracle homepage for PHP Developers