On Thu, 22 Jul 2004 18:23:08 +0000, Curt Zirzow
<[EMAIL PROTECTED]> wrote:
> * 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'};
> }
>
You can use the CGI libraries for much of this.
> #!/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
>
>
> !DSPAM:4100012220022056620586!
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php