File: demo.env.phtml

package info (click to toggle)
eperl 2.2.14-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,164 kB
  • ctags: 348
  • sloc: ansic: 4,680; sh: 1,425; perl: 551; makefile: 378
file content (33 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!-- 
##
##  demo.env -- ePerl demonstration webpage
##  Copyright (c) 1996,1997 Ralf S. Engelschall, All Rights Reserved. 
##
-->
<html>
<head>
<title>demo.env</title>
</head>
<body>
<blockquote>
<blockquote>
<h1>demo.env</h1>
<h2>Standard CGI Example: Environment</h1>
<p>

This prints out the CGI environment provided by the Webserver as a sorted list
consisting of key/value pairs.

<p>
<pre>
<? my $key;
   foreach $key (sort(keys(%ENV))) { 
       print "$key=$ENV{$key}\n"; 
   }
!>
</pre>

</blockquote>
</blockquote>
</body>
</html>