Re: Re: cvs: docweb / INSTALL.txt

From: Date: Sun, 31 Oct 2004 10:34:42 +0000
Subject: Re: Re: cvs: docweb / INSTALL.txt
References: 1 2 3  Groups: php.doc.web 
Request: Send a blank email to doc-web+get-381@lists.php.net to get a copy of this message
On Sunday 31 October 2004 02:12, Sean Coates wrote: > Mehdi Achour wrote: > > I think the problem was your typo (it's short_open_tag, not > > short_open_tags, and in a .htaccess, you should use a php_value, i.e > > echo "php_value short_open_tag On > .htaccess" > > > > Can you give it a try ? > > Yeah, this doesn't work the way you think. > We started this on IRC, but Vincent seems to have disappeared. heh :) found myself sitting in my chair when I woke up this morning I now wonder what made me sooo tired yesterday > See: http://sean.caedmon.net/httest/ > > Basically, PHP is ignorant of .htaccess. > Also, not that I look at the ini_set manual, > > So, our options are: > - Short tags, globally > - Require long tags in templates > > I'm ok with either one.. the former is more convenient, the latter is > more correct. I think short tags make the templates look better, but people could be using parts from the site and find it not working because there host has short_open_tag off. The normal style is longer and makes the templates look a bit ugly, but it will always work if people use it for there own site. It's not that we are making a site for others... I think there are newbies that would use the *.php.net code. I'm +1 for the latter for making code that will work without .htaccess settings or ini_set. Vincent > > S > >

« previous php.doc.web (#381) next »