Re: what is difference between php and perl

From: Date: Thu, 22 Jul 2004 18:23:08 +0000
Subject: Re: what is difference between php and perl
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191548@lists.php.net to get a copy of this message
* Thus wrote Jurgen Stroo: > "End of the commercial break, we're going back to the news headlines" > >... > Net), perl is not mature, limited or inflexible (why do you think perl > was able to evaluate to incorpate full OO, oh well). #!/usr/bin/perl print "HTTP/1.0 200\r\n"; print "Content-Type: text/html\r\n"; print "Set-Cookie: SESS=123fdfd...\r\n" print "Connection: close\r\n"; print "Cache-Control: no-store..\r\n"; print "Pragma: no-cache \r\n"; print "Content-Type: text/html; charset=ISO-8859-1\r\n"; print "\r\n"; $qs = $ENV{'QUERY_STRING'}; # # bunch of tr/,s/,maping code to figure out a query string vars # into $_GET # if ($_GET{'var'} ) { print $_GET{'var'}; } #!/usr/bin/php <?php if ($_GET['var']) { echo $_GET['var']; } Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#191548) next »