Home » Archimedes archive » Acorn User » AU 1997-Xmas B.adf » PD » NetPlex/!Netplex/!Help/HTML/cgi-bin/query
NetPlex/!Netplex/!Help/HTML/cgi-bin/query
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1997-Xmas B.adf » PD |
Filename: | NetPlex/!Netplex/!Help/HTML/cgi-bin/query |
Read OK: | ✔ |
File size: | 02A7 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >cgi-bin.query (Netplex Example) 20REM ========================================================================= 21REM Simply prints the contents of the query string passed. 30REM ========================================================================= 50 60LIBRARY "<Netplex$Dir>.CGILibrary" 80REM Set up error handler, redirection and library variables, misc block. 90PROCcgi_init 130 131PROCcgi_header("text/html",-1) 160 161PRINT "<HTML>"; 162PRINT "<HEAD>"; 163PRINT "<TITLE>Query</TITLE>"; 180PRINT "</HEAD>"; 190PRINT "<BODY>"; 191PRINT "<H1>Query</H1>"; 200PRINT "<HR>"; 210PRINT "<CENTER><P><FONT SIZE=7>";FNsystem_getvar("CGI$QueryString");"</FONT></P></CENTER>"; 211PRINT "</BODY>"; 220PRINT "</HTML>"; 230 240END
'� >cgi-bin.query (Netplex Example) O� ========================================================================= <� Simply prints the contents of the query string passed. O� ========================================================================= 2 <!ț "<Netplex$Dir>.CGILibrary" PJ� Set up error handler, redirection and library variables, misc block. Z �cgi_init � ��cgi_header("text/html",-1) � �� "<HTML>"; �� "<HEAD>"; �� "<TITLE>Query</TITLE>"; �� "</HEAD>"; �� "<BODY>"; �� "<H1>Query</H1>"; � � "<HR>"; �Z� "<CENTER><P><FONT SIZE=7>";�system_getvar("CGI$QueryString");"</FONT></P></CENTER>"; �� "</BODY>"; �� "</HTML>"; � �� �
00000000 0d 00 0a 27 f4 20 3e 63 67 69 2d 62 69 6e 2e 71 |...'. >cgi-bin.q| 00000010 75 65 72 79 20 20 28 4e 65 74 70 6c 65 78 20 45 |uery (Netplex E| 00000020 78 61 6d 70 6c 65 29 0d 00 14 4f f4 20 3d 3d 3d |xample)...O. ===| 00000030 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000070 3d 3d 3d 3d 3d 3d 0d 00 15 3c f4 20 53 69 6d 70 |======...<. Simp| 00000080 6c 79 20 70 72 69 6e 74 73 20 74 68 65 20 63 6f |ly prints the co| 00000090 6e 74 65 6e 74 73 20 6f 66 20 74 68 65 20 71 75 |ntents of the qu| 000000a0 65 72 79 20 73 74 72 69 6e 67 20 70 61 73 73 65 |ery string passe| 000000b0 64 2e 0d 00 1e 4f f4 20 3d 3d 3d 3d 3d 3d 3d 3d |d....O. ========| 000000c0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000100 3d 0d 00 32 04 0d 00 3c 21 c8 9b 20 22 3c 4e 65 |=..2...<!.. "<Ne| 00000110 74 70 6c 65 78 24 44 69 72 3e 2e 43 47 49 4c 69 |tplex$Dir>.CGILi| 00000120 62 72 61 72 79 22 0d 00 50 4a f4 20 53 65 74 20 |brary"..PJ. Set | 00000130 75 70 20 65 72 72 6f 72 20 68 61 6e 64 6c 65 72 |up error handler| 00000140 2c 20 72 65 64 69 72 65 63 74 69 6f 6e 20 61 6e |, redirection an| 00000150 64 20 6c 69 62 72 61 72 79 20 76 61 72 69 61 62 |d library variab| 00000160 6c 65 73 2c 20 6d 69 73 63 20 62 6c 6f 63 6b 2e |les, misc block.| 00000170 0d 00 5a 0d f2 63 67 69 5f 69 6e 69 74 0d 00 82 |..Z..cgi_init...| 00000180 04 0d 00 83 1f f2 63 67 69 5f 68 65 61 64 65 72 |......cgi_header| 00000190 28 22 74 65 78 74 2f 68 74 6d 6c 22 2c 2d 31 29 |("text/html",-1)| 000001a0 0d 00 a0 04 0d 00 a1 0f f1 20 22 3c 48 54 4d 4c |......... "<HTML| 000001b0 3e 22 3b 0d 00 a2 0f f1 20 22 3c 48 45 41 44 3e |>";..... "<HEAD>| 000001c0 22 3b 0d 00 a3 1d f1 20 22 3c 54 49 54 4c 45 3e |";..... "<TITLE>| 000001d0 51 75 65 72 79 3c 2f 54 49 54 4c 45 3e 22 3b 0d |Query</TITLE>";.| 000001e0 00 b4 10 f1 20 22 3c 2f 48 45 41 44 3e 22 3b 0d |.... "</HEAD>";.| 000001f0 00 be 0f f1 20 22 3c 42 4f 44 59 3e 22 3b 0d 00 |.... "<BODY>";..| 00000200 bf 17 f1 20 22 3c 48 31 3e 51 75 65 72 79 3c 2f |... "<H1>Query</| 00000210 48 31 3e 22 3b 0d 00 c8 0d f1 20 22 3c 48 52 3e |H1>";..... "<HR>| 00000220 22 3b 0d 00 d2 5a f1 20 22 3c 43 45 4e 54 45 52 |";...Z. "<CENTER| 00000230 3e 3c 50 3e 3c 46 4f 4e 54 20 53 49 5a 45 3d 37 |><P><FONT SIZE=7| 00000240 3e 22 3b a4 73 79 73 74 65 6d 5f 67 65 74 76 61 |>";.system_getva| 00000250 72 28 22 43 47 49 24 51 75 65 72 79 53 74 72 69 |r("CGI$QueryStri| 00000260 6e 67 22 29 3b 22 3c 2f 46 4f 4e 54 3e 3c 2f 50 |ng");"</FONT></P| 00000270 3e 3c 2f 43 45 4e 54 45 52 3e 22 3b 0d 00 d3 10 |></CENTER>";....| 00000280 f1 20 22 3c 2f 42 4f 44 59 3e 22 3b 0d 00 dc 10 |. "</BODY>";....| 00000290 f1 20 22 3c 2f 48 54 4d 4c 3e 22 3b 0d 00 e6 04 |. "</HTML>";....| 000002a0 0d 00 f0 05 e0 0d ff |.......| 000002a7