Hi Marc, thanks for your hints. I have php installed. Actually I used the MS4W (Mapserver for windows) package. One thing I tried is: From the example code in postgis-terminal.html I changed action = "./process-spatial-query.php" to action = ""http://localhost/process-spatial-query.php" and the same for the url property in the processSpatialQuery function. In this case, nothing happens, I get an empty js messagebox.
Regards, J -------- Original-Nachricht -------- > Datum: Thu, 26 Aug 2010 07:56:04 +0200 > Von: Marc Jansen <jan...@terrestris.de> > An: users@openlayers.org > Betreff: Re: [OpenLayers-Users] OpenLayers Book by Jansen and Adams > Hi J, > > to run PHP code you have to install PHP. For testing I would suggest > XAMPP[1], that has a whole bundle of software packed together so that > everything works. > > Best regards, > Marc > > > J: um PHP ausführen zu können, muss auf Deinem System PHO installiert > sein. Ich empfehle Dir XAMPP[1], ein komplettes & gut abgestimmtes Packet. > > Grüße, > Marc > > > [1] http://www.apachefriends.org/en/xampp.html > > > On 25.08.2010 22:15, j...@gmx.de wrote: > > I am developing on a local machine. How can i make the Code being > interpreted. > > > > > > "Marc Jansen"<jan...@terrestris.de> schrieb: > > > > > >> Hi J, > >> > >> since you see the PHP-code, it is very likel, that you are running this > >> example somewhere where PHP isn't being interpreted. Are you developing > >> on a webserver or locally? > >> > >> Regards, > >> Marc > >> > >> > >> > >> On 25.08.2010 16:15, j...@gmx.de wrote: > >> > >>> Sorry for writing in German, but it is a German issue regarding the > book mentioned above. > >>> Hallo Liste, > >>> bin ein Neuling hier und auch in der Thematik. > >>> Hat jemand das Beispiel 9 aus dem Openlayers Buch von Jansen und Adams > nachvollzogen. Ich bekomme als Antwort den gesamten Inhalt der php-Datei. > ich nutze den Quellcode wie im Beispiel. > >>> > >>> Gruss > >>> J > >>> > >>> > >> > >> _______________________________________________ > >> Users mailing list > >> Users@openlayers.org > >> http://openlayers.org/mailman/listinfo/users > >> > > _______________________________________________ > > Users mailing list > > Users@openlayers.org > > http://openlayers.org/mailman/listinfo/users > > > > > > > -- > > ................................................................. > Karten im (Inter|Intra)net? > > OpenLayers - Webentwicklung mit dynamischen Karten und Geodaten > von M. Jansen und T. Adams, OpenSourcePress, München. > > ISBN: 978-3-937514-92-5 > URL: http://openlayers-buch.de > ................................................................. > > > Dipl.-Geogr. Marc Jansen > - Anwendungsentwickler - > > terrestris GmbH& Co. KG > Irmintrudisstraße 17 > 53111 Bonn > > Tel: ++49 (0)228 / 96 28 99 -53 > Fax: ++49 (0)228 / 96 28 99 -57 > > Email: jan...@terrestris.de > Web: http://www.terrestris.de > > Amtsgericht Bonn, HRA 6835 > Komplementärin: terrestris Verwaltungsgesellschaft mbH > vertreten durch: Hinrich Paulsen, Till Adams > > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users