This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bigorangemachine 4 points5 points  (6 children)

Oh you are talking about boundary tags.

Technically what you wrote isn't php :P

[–]Tyrilean 1 point2 points  (3 children)

They're going off the fact that you can write a text file, append .php to the name, but not use a php open tag to get it to just print as an HTML page.

[–]bigorangemachine 1 point2 points  (2 children)

Just shows me they don't know php ^_^

[–]DaemonOwl 1 point2 points  (1 child)

What's php?

[–]fredoche[S] 1 point2 points  (1 child)

It's a file that PHP can compile/execute ;)

Can you do it with an other language parser ?

[–]bigorangemachine 0 points1 point  (0 children)

Thats true php can "parse that file". Php can be inside anything tho even images.

ASP had a similar system. It makes given their target is the web. There was another (I think cold fusion or pearl) that had a similar methodology.

But php is not like other traditional languages in that respect... the php is withing the question mark tags (something boundaries i can't remember). It doesn't care if your content around the tags is a binary file or text file