PHP versus Perl
Gareth Kirwan
gbjk at thermeoneurope.com
Fri Jun 29 09:28:30 BST 2007
>David Cantrell wrote:
>> On Thu, Jun 28, 2007 at 05:34:23PM +0100, Andy Armstrong wrote:
>>
>>> PHP's big wins are ubiquity and ease of deployment. "Hello
>World" is a
>>> ten second job in PHP.
>>
>> $ time cat>foo
>> print "Content-type: text/html\n\nhello world"
>
>ITYM "<title></title>hello world" (IIRC, and assuming an sgml-based
>HTML, all the other containing elements have omissable tags, but not
>that one)
>
>Or, perhaps easier, sent text/plain instead of text/html
print "Content-type: text/bad-html\n\nhello world"
Might as well be clear with the browser fromt he start.
More information about the london.pm
mailing list