* 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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to