Re: [PHP] Re: PHP in HTML code

2010-03-19 Thread Peter Lind
On 19 March 2010 10:17, Michael A. Peters wrote: > > I don't care what people do in their code. > I do not like released code with short tags, it has caused me problems when > trying to run php webapps that use short tags, I have to go through the code > and change them. > > So what people do with

Re: [PHP] Re: PHP in HTML code

2010-03-19 Thread Michael A. Peters
Jan G.B. wrote: 2010/3/18 tedd : Calling it "ranting" or "religious" unjustly demeans the discussion and is inflammatory. In all of this, I've simply said it's your choice. What I said was: *persons ranting about short open tags* *are just like some religious people * I don't care what peopl

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Adam Richardson
On Thu, Mar 18, 2010 at 1:37 PM, Ashley Sheridan wrote: > On Thu, 2010-03-18 at 18:37 +0100, Jan G.B. wrote: > > > > > > > 2010/3/18 Ashley Sheridan > > > > > > On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote: > > > > > 2010/3/18 Ashley Sheridan > > > > > > > I

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Ashley Sheridan
On Thu, 2010-03-18 at 18:37 +0100, Jan G.B. wrote: > > > 2010/3/18 Ashley Sheridan > > > On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote: > > > 2010/3/18 Ashley Sheridan > > > > > I'd rather have short tags turned off than remember each t

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 Ashley Sheridan > On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote: > > 2010/3/18 Ashley Sheridan > > > I'd rather have short tags turned off than remember each time that I have > > to keep breaking up the < and ?php before I output it in-case the parser > > gets confused. > > > > Y

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Ashley Sheridan
On Thu, 2010-03-18 at 18:09 +0100, Jan G.B. wrote: > 2010/3/18 Ashley Sheridan > > > I'd rather have short tags turned off than remember each time that I have > > to keep breaking up the < and ?php before I output it in-case the parser > > gets confused. > > > > You don't need to break anythin

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 Ashley Sheridan > I'd rather have short tags turned off than remember each time that I have > to keep breaking up the < and ?php before I output it in-case the parser > gets confused. > You don't need to break anything up. It's perfectly valid and without problems: '; ?>

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Adam Richardson
On Thu, Mar 18, 2010 at 11:28 AM, tedd wrote: > At 9:34 AM + 3/18/10, Pete Ford wrote: > >> >> I do tend to use > camp here. >> > > > Whoa, that's even worse -- make a choice and stick with it -- IMO. > > I'm all for consistency and have often found myself redoing dozens of > scripts because

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Ashley Sheridan
On Thu, 2010-03-18 at 17:57 +0100, Jan G.B. wrote: > Sure - XML is often used and served. But in general, a web server only > parses PHP-Files (ie. .+\.php\d?) unless you configure your server to > parse any file or .xml files. So the XML for the interpreter. I wasn't meaning that xml files wou

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 Ashley Sheridan > Technically, PHP isn't embedded in any language; it's the other way around. > > XML and PHP are used together more often than you might realise. Consider > Ajax and RSS, which are becoming more and more popular. Also, there are > sites out there that are almost entirel

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Ashley Sheridan
On Thu, 2010-03-18 at 17:32 +0100, Jan G.B. wrote: > 2010/3/18 tedd : > > Calling it "ranting" or "religious" unjustly demeans the discussion and is > > inflammatory. > > In all of this, I've simply said it's your choice. > > What I said was: > *persons ranting about short open tags* *are just li

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 tedd : > Calling it "ranting" or "religious" unjustly demeans the discussion and is > inflammatory. > In all of this, I've simply said it's your choice. What I said was: *persons ranting about short open tags* *are just like some religious people * I did not address you. On the other h

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread tedd
At 4:11 PM +0100 3/18/10, Jan G.B. wrote: I agree. And I believe the persons ranting about short open tags are just like some religious people. It's almost like a war between Linux/Windows/Mac, IE/FF or ASP/PHP. Also, people love to recommend things that others recommended before. It mustn't make

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread tedd
At 9:34 AM + 3/18/10, Pete Ford wrote: I do tend to use middle camp here. Whoa, that's even worse -- make a choice and stick with it -- IMO. I'm all for consistency and have often found myself redoing dozens of scripts because I changed something -- not because the change worked and th

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Jan G.B.
2010/3/18 Pete Ford : > On 17/03/10 18:59, Tommy Pham wrote: >> >> On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman  wrote: >>> >>> hmm.. seems easier to me to push a filetree of .php's with>> the str_replace(), than it is to get all the>> with your wishes, which may not apply to their situation ;-)

Re: [PHP] Re: PHP in HTML code

2010-03-18 Thread Pete Ford
On 17/03/10 18:59, Tommy Pham wrote: On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman wrote: hmm.. seems easier to me to push a filetree of .php's with wrote: At 8:55 PM -0400 3/16/10, Adam Richardson wrote: That said, I'm not taking exception with those who don't use the short tag, only with

Re: [PHP] Re: PHP in HTML code

2010-03-17 Thread tedd
At 11:59 AM -0700 3/17/10, Tommy Pham wrote: http://www.php.net/manual/en/language.basic-syntax.phpmode.php "There are four different pairs of opening and closing tags which can be used in PHP. Two of those, and , are always available. The other two are short tags and ASP style tags, and can b

Re: [PHP] Re: PHP in HTML code

2010-03-17 Thread Tommy Pham
On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman wrote: > hmm.. seems easier to me to push a filetree of .php's with the str_replace(), than it is to get all the with your wishes, which may not apply to their situation ;-) > > On Wed, Mar 17, 2010 at 5:14 PM, tedd wrote: >> At 8:55 PM -0400 3/16/

Re: [PHP] Re: PHP in HTML code

2010-03-17 Thread Rene Veerman
hmm.. seems easier to me to push a filetree of .php's with wrote: > At 8:55 PM -0400 3/16/10, Adam Richardson wrote: >> >> That said, I'm not taking exception with those who don't use the short >> tag, only with those who say I shouldn't. > > Exception or not, it's still your choice and using shor

Re: [PHP] Re: PHP in HTML code

2010-03-17 Thread tedd
At 8:55 PM -0400 3/16/10, Adam Richardson wrote: That said, I'm not taking exception with those who don't use the short tag, only with those who say I shouldn't. Exception or not, it's still your choice and using short tags can cause problems. My view, why create problems when there is a sol

Re: [PHP] Re: PHP in HTML code

2010-03-16 Thread Adam Richardson
On Tue, Mar 16, 2010 at 7:06 PM, Ashley Sheridan wrote: > On Tue, 2010-03-16 at 23:42 +0100, Rene Veerman wrote: > > > maybe adding a > then deprecating > > > On Tue, Mar 16, 2010 at 7:18 PM, tedd wrote: > > > At 5:54 PM + 3/15/10, Jochem Maas wrote: > > >> > > >> Op 3/13/10 3:49 PM, Jorge

Re: [PHP] Re: PHP in HTML code

2010-03-16 Thread Ashley Sheridan
On Tue, 2010-03-16 at 23:42 +0100, Rene Veerman wrote: > maybe adding a then deprecating > On Tue, Mar 16, 2010 at 7:18 PM, tedd wrote: > > At 5:54 PM + 3/15/10, Jochem Maas wrote: > >> > >> Op 3/13/10 3:49 PM, Jorge Gomes schreef: > >>> > >>> First of all, i recommend the use of normal p

Re: [PHP] Re: PHP in HTML code

2010-03-16 Thread Rene Veerman
maybe adding a wrote: > At 5:54 PM + 3/15/10, Jochem Maas wrote: >> >> Op 3/13/10 3:49 PM, Jorge Gomes schreef: >>> >>>  First of all, i recommend the use of normal php tags () >>> because >>>  the short tags are atm marked as* **DEPRECATED*. >> >> that's a documentation error. >> >>> >>>  You

Re: [PHP] Re: PHP in HTML code

2010-03-16 Thread tedd
At 5:54 PM + 3/15/10, Jochem Maas wrote: Op 3/13/10 3:49 PM, Jorge Gomes schreef: First of all, i recommend the use of normal php tags () because the short tags are atm marked as* **DEPRECATED*. that's a documentation error. You should also echo your values to the page, instead using

RE: [PHP] Re: PHP in HTML code

2010-03-16 Thread Bob McConnell
From: Ford, Mike > From: Ashley Sheridan >> On Tue, 2010-03-16 at 11:16 +, Ford, Mike wrote: >> > >> > >> Proof: http://marc.info/?l=php-internals&m=126832992915664&w=2 > >> >> >> That's not really proof of anything, it's just an archived email >> from this list... > > Well, firstly it's a

RE: [PHP] Re: PHP in HTML code

2010-03-16 Thread Ford, Mike
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: 16 March 2010 11:16 > > On Tue, 2010-03-16 at 11:16 +, Ford, Mike wrote: > > > > > Proof: http://marc.info/?l=php-internals&m=126832992915664&w=2 > > > > That's not really proof of anything, it'

RE: [PHP] Re: PHP in HTML code

2010-03-16 Thread Ashley Sheridan
On Tue, 2010-03-16 at 11:16 +, Ford, Mike wrote: > > -Original Message- > > From: Bob McConnell [mailto:r...@cbord.com] > > Sent: 15 March 2010 18:13 > > > > From: Jochem Maas > > > > > Op 3/13/10 3:49 PM, Jorge Gomes schreef: > > >> First of all, i recommend the use of normal php ta

RE: [PHP] Re: PHP in HTML code

2010-03-16 Thread Ford, Mike
> -Original Message- > From: Bob McConnell [mailto:r...@cbord.com] > Sent: 15 March 2010 18:13 > > From: Jochem Maas > > > Op 3/13/10 3:49 PM, Jorge Gomes schreef: > >> First of all, i recommend the use of normal php tags ( ?>) > because > >> the short tags are atm marked as* **DEPRECATED

RE: [PHP] Re: PHP in HTML code

2010-03-15 Thread Ashley Sheridan
On Mon, 2010-03-15 at 14:12 -0400, Bob McConnell wrote: > From: Jochem Maas > > > Op 3/13/10 3:49 PM, Jorge Gomes schreef: > >> First of all, i recommend the use of normal php tags () > because > >> the short tags are atm marked as* **DEPRECATED*. > > > > that's a documentation error. > > No it

RE: [PHP] Re: PHP in HTML code

2010-03-15 Thread Bob McConnell
From: Jochem Maas > Op 3/13/10 3:49 PM, Jorge Gomes schreef: >> First of all, i recommend the use of normal php tags () because >> the short tags are atm marked as* **DEPRECATED*. > > that's a documentation error. No it's not. The short tags conflict with both XML and XHTML and therefore are bei

Re: [PHP] Re: PHP in HTML code

2010-03-15 Thread Jochem Maas
Op 3/13/10 3:49 PM, Jorge Gomes schreef: > First of all, i recommend the use of normal php tags () because > the short tags are atm marked as* **DEPRECATED*. that's a documentation error. > > You should also echo your values to the page, instead using the shortcut (stop being a lazy ass! :P):

Re: [PHP] Re: PHP in HTML code

2010-03-13 Thread Jorge Gomes
First of all, i recommend the use of normal php tags () because the short tags are atm marked as* **DEPRECATED*. You should also echo your values to the page, instead using the shortcut remember that between tags, we have normal php code. Rewards ___ Jo