Hi Christoph,
<?
... muß in deiner Apache-Konfiguration eingestellt sein, daß "ASP-tags"
berücksichtigt werden sollen ...
Apache Konfiguration != PHP Konfiguration
ich glaub ich sollte noch mal im PHP manual lesen :-(
Nö, in diesem Fall solltest du die Kommentare in deiner php.ini lesen.
Gesagt, getan:
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On
; Allow ASP-style <% %> tags.
asp_tags = On
Es handelt sich hierbei um meine php.ini Datei für PHP 5 unter Windows XP.
Daraus lässt sich ganz klar schließen, dass es sich bei <? um Short Tags
und bei <%, sowie %> un ASP-style Tags handelt.
MfG, Dennis.
Mein SelfCode: ie:{ fl:( br:> va:) ls:[ fo:) rl:( n4:# ss:) de:] js:| ch:{ sh:| mo:} zu:|
Der beste Datenschutz ist das nicht-speichern von Daten. (Christian Kruse)