Debian Codegraph @

test/html/ifuncsrc/proxy.htm

raw
1
2 <html>
3 <head>
4 <title>mod_include/proxy test</title>
5 </head>
6
7 <body>
8
9 This document contains SSI and Embperl commands<BR>
10
11
12 <!--#set var="abc" -->
13
14 <!--#printenv -->
15
16
17 Here it starts with some HTML Text<P>
18
19 All values should be undefined:
20
21 $a = [+ $a || '' +] <BR>
22 $b = [+ $b || '' +] <BR>
23 $c = [+ $c || '' +] <BR>
24 $d = [+ $d || '' +] <BR>
25 $e = [+ $e || '' +] <BR>
26
27
28 First of all assign a value:
29 [- $a = '(this is the value in $a)' -] <BR>
30
31 Now we have some 'Umlaute':
32
33
34 [- $b = "$a &auml;&ouml;&uuml;" -]
35
36 Now lets look what we are getting from this:<BR>
37 [+ $a +] [+ $b +]<BR>
38
39 And now a and b together: [+ "$a$b" +]<P>
40
41 Here we have some HTML tags within the perl code, Embperl will delete them!<BR>
42
43 [+ $c = <BR> 6 + 17 <font size="3"> * 3 </font> &nbsp;&nbsp; + 0 +]
44 [+ "SELECT * <br> FROM a ORDER BY b USING <; Hi There>" +]
45
46 Here we have something which looks like a HTML tag, but does not start with<br>
47 a character, Embperl does not change them!<BR>
48
49 [+ "SELECT * FROM a ORDER BY b USING <; Hi There>" +]
50
51 Embperl will also translate HMTL escapes to the right characters i.e. $a &amp;lt; 6 will get the perl expression $a &lt; 6: <BR>
52
53 [- $e = 2 -]
54 [+ $d = $e &lt; 6 +]
55
56 Now they should have a value
57
58 $a = [+ $a +] <BR>
59 $b = [+ $b +] <BR>
60 $c = [+ $c +] <BR>
61 $d = [+ $d +] <BR>
62 $e = [+ $e +] <BR>
63
64 <P>Ok.<P>
65
66
67 </body>
68 </html>