Re: short open tags not working even if enabled - lighttpd + fastcgi

From: Date: Tue, 27 Mar 2007 08:35:07 +0000
Subject: Re: short open tags not working even if enabled - lighttpd + fastcgi
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-251438@lists.php.net to get a copy of this message
On 3/27/07, Matt Arnilo S. Baluyos (Mailing Lists) <matt.baluyos.lists@gmail.com> wrote:
Hello everyone, I have a working lighttpd + fastcgi + PHP + eaccelerator installation. I have also enabled short tags on the /usr/local/lib/php.ini but I'm having problems with PHP not escaping the short tags. To better illustrate, my phpinfo() file can be accessed at http://202.171.164.70/phpinfo.php - if you notice short_open_tag is set to "On". But when you access a PHP page at http://202.171.164.70/admin/login.php and try to view the source, the short open tag is not escaped. Any reason why this isn't working as expected? Regards, Matt
You also use XML in your page, and thereby i would NOT recommend using short tags. as xml tags also start with <? Better learn to start PHP tags with <?php and disable the short tags. This way i cannot ever give problems with the <?xml tags.s Tijnema
-- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#251438) next »