environment variables
With Apache and CGI (Perl) I can use the following Script to show all environment variables. ------------------------------------- #! /opt/bin/perl print "Content-type: text/plain\n\n"; foreach (keys %ENV) { print $_.": ".$ENV{$_}."<br>\n"; } ------------------------------------- Can something like this be done with dtml? ...or should i use Python? Sven -- PGP-Key-ID: 0x881BF222
Hi Sven - try: <dtml-var REQUEST--> Pavlos On Sun, 29 Aug 1999, Sven Kirmess wrote:
With Apache and CGI (Perl) I can use the following Script to show all environment variables.
------------------------------------- #! /opt/bin/perl
print "Content-type: text/plain\n\n";
foreach (keys %ENV) { print $_.": ".$ENV{$_}."<br>\n"; } -------------------------------------
Can something like this be done with dtml? ...or should i use Python?
Sven
-- PGP-Key-ID: 0x881BF222
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Pavlos Christoforou -
Sven Kirmess