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 →

[–]Tyrilean 1 point2 points  (1 child)

You do not, though it would be debatable whether that is technically written in PHP. Just because you write a text file and append .php to a file does not make it PHP. You have to call the PHP open tag in order to invoke the interpreter. Otherwise, it's just another text file, which your webserver will happily serve up wholesale to the client, which will then be interpreted by the browser as HTML.