home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 2 / Macwelt DVD 2.cdr / System / Entwickler-Tools / macos9 / Javascript OSA 1.0.3 / Sample Scripts / CGI Scripting / JavaScript CGI / JavaScript CGI.rsrc
MacOS Resource Fork  |  2000-09-29  |  5.1 KB  |  [osas/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
56% TrID Mac AppleDouble encoded default
28% TrID TTComp archive compressed (bin-2K) default (weak)
14% TrID MacBinary 1 default (weak)
1% dearkID deark: applesd (AppleDouble header file) default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default
100% gt2 MAC Bilddatei default (weak)


id metadata
keyvalue
macFileType[osas]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 14 3a 6f 73 61 73 54 6f | 79 53 00 00 00 00 00 00 |.:osasTo|yS......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 13 84 00 00 12 84 00 00 |........|........|
|00000060| 00 b6 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 0a 58 e0 | 00 07 d0 00 00 07 d0 00 |......X.|........|
|00000160| 00 00 00 02 00 00 00 00 | 00 02 00 01 00 00 00 14 |........|........|
|00000170| 00 65 00 2a 02 74 02 4b | 00 65 00 2a 02 74 02 4b |.e.*.t.K|.e.*.t.K|
|00000180| 00 00 00 01 00 00 09 18 | 66 75 6e 63 74 69 6f 6e |........|function|
|00000190| 20 68 61 6e 64 6c 65 5f | 43 47 49 5f 72 65 71 75 | handle_|CGI_requ|
|000001a0| 65 73 74 28 61 65 5f 70 | 61 72 61 6d 73 29 20 7b |est(ae_p|arams) {|
|000001b0| 0d 09 76 61 72 20 68 65 | 61 64 65 72 20 3d 20 22 |..var he|ader = "|
|000001c0| 48 54 54 50 2f 31 2e 30 | 20 32 30 30 20 4f 4b 5c |HTTP/1.0| 200 OK\|
|000001d0| 6e 53 65 72 76 65 72 3a | 20 4d 61 63 48 54 54 50 |nServer:| MacHTTP|
|000001e0| 5c 6e 4d 49 4d 45 2d 56 | 65 72 73 69 6f 6e 3a 20 |\nMIME-V|ersion: |
|000001f0| 31 2e 30 5c 6e 43 6f 6e | 74 65 6e 74 2d 74 79 70 |1.0\nCon|tent-typ|
|00000200| 65 3a 20 74 65 78 74 2f | 68 74 6d 6c 5c 6e 5c 6e |e: text/|html\n\n|
|00000210| 22 3b 0d 09 0d 09 74 72 | 79 0d 09 7b 0d 09 09 76 |";....tr|y..{...v|
|00000220| 61 72 20 70 61 72 61 6d | 50 61 74 68 20 3d 20 61 |ar param|Path = a|
|00000230| 65 5f 70 61 72 61 6d 73 | 2e 6f 66 3b 0d 09 09 76 |e_params|.of;...v|
|00000240| 61 72 20 73 65 61 72 63 | 68 69 6e 67 46 6f 72 20 |ar searc|hingFor |
|00000250| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 73 65 61 72 |= ae_par|ams.sear|
|00000260| 63 68 69 6e 67 5f 66 6f | 72 3b 0d 09 09 76 61 72 |ching_fo|r;...var|
|00000270| 20 77 69 74 68 50 6f 73 | 74 65 64 44 61 74 61 20 | withPos|tedData |
|00000280| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 77 69 74 68 |= ae_par|ams.with|
|00000290| 5f 70 6f 73 74 65 64 5f | 64 61 74 61 3b 0d 09 09 |_posted_|data;...|
|000002a0| 76 61 72 20 6f 66 43 6f | 6e 74 65 6e 74 54 79 70 |var ofCo|ntentTyp|
|000002b0| 65 20 3d 20 61 65 5f 70 | 61 72 61 6d 73 2e 6f 66 |e = ae_p|arams.of|
|000002c0| 5f 63 6f 6e 74 65 6e 74 | 5f 74 79 70 65 3b 0d 09 |_content|_type;..|
|000002d0| 09 76 61 72 20 75 73 69 | 6e 67 41 63 63 65 73 73 |.var usi|ngAccess|
|000002e0| 4d 65 74 68 6f 64 20 3d | 20 61 65 5f 70 61 72 61 |Method =| ae_para|
|000002f0| 6d 73 2e 75 73 69 6e 67 | 5f 61 63 63 65 73 73 5f |ms.using|_access_|
|00000300| 6d 65 74 68 6f 64 3b 0d | 09 09 76 61 72 20 66 72 |method;.|..var fr|
|00000310| 6f 6d 41 64 64 72 65 73 | 73 20 3d 20 61 65 5f 70 |omAddres|s = ae_p|
|00000320| 61 72 61 6d 73 2e 66 72 | 6f 6d 5f 61 64 64 72 65 |arams.fr|om_addre|
|00000330| 73 73 3b 0d 09 09 76 61 | 72 20 66 72 6f 6d 55 73 |ss;...va|r fromUs|
|00000340| 65 72 20 3d 20 61 65 5f | 70 61 72 61 6d 73 2e 66 |er = ae_|params.f|
|00000350| 72 6f 6d 5f 75 73 65 72 | 3b 0d 09 09 76 61 72 20 |rom_user|;...var |
|00000360| 75 73 69 6e 67 50 61 73 | 73 77 6f 72 64 20 3d 20 |usingPas|sword = |
|00000370| 61 65 5f 70 61 72 61 6d | 73 2e 75 73 69 6e 67 5f |ae_param|s.using_|
|00000380| 70 61 73 73 77 6f 72 64 | 3b 0d 09 09 76 61 72 20 |password|;...var |
|00000390| 77 69 74 68 55 73 65 72 | 49 6e 66 6f 20 3d 20 61 |withUser|Info = a|
|000003a0| 65 5f 70 61 72 61 6d 73 | 2e 77 69 74 68 5f 75 73 |e_params|.with_us|
|000003b0| 65 72 5f 69 6e 66 6f 3b | 0d 09 09 76 61 72 20 66 |er_info;|...var f|
|000003c0| 72 6f 6d 53 65 72 76 65 | 72 20 3d 20 61 65 5f 70 |romServe|r = ae_p|
|000003d0| 61 72 61 6d 73 2e 66 72 | 6f 6d 5f 73 65 72 76 65 |arams.fr|om_serve|
|000003e0| 72 3b 0d 09 09 76 61 72 | 20 76 69 61 50 6f 72 74 |r;...var| viaPort|
|000003f0| 20 3d 20 61 65 5f 70 61 | 72 61 6d 73 2e 76 69 61 | = ae_pa|rams.via|
|00000400| 5f 70 6f 72 74 3b 0d 09 | 09 76 61 72 20 65 78 65 |_port;..|.var exe|
|00000410| 63 75 74 69 6e 67 42 79 | 20 3d 20 61 65 5f 70 61 |cutingBy| = ae_pa|
|00000420| 72 61 6d 73 2e 65 78 65 | 63 75 74 69 6e 67 5f 62 |rams.exe|cuting_b|
|00000430| 79 3b 0d 09 09 76 61 72 | 20 72 65 66 65 72 72 65 |y;...var| referre|
|00000440| 64 42 79 20 3d 20 61 65 | 5f 70 61 72 61 6d 73 2e |dBy = ae|_params.|
|00000450| 72 65 66 65 72 72 65 64 | 5f 62 79 3b 0d 09 09 76 |referred|_by;...v|
|00000460| 61 72 20 66 72 6f 6d 42 | 72 6f 77 73 65 72 20 3d |ar fromB|rowser =|
|00000470| 20 61 65 5f 70 61 72 61 | 6d 73 2e 66 72 6f 6d 5f | ae_para|ms.from_|
|00000480| 62 72 6f 77 73 65 72 3b | 0d 09 09 76 61 72 20 75 |browser;|...var u|
|00000490| 73 69 6e 67 41 63 74 69 | 6f 6e 20 3d 20 61 65 5f |singActi|on = ae_|
|000004a0| 70 61 72 61 6d 73 2e 75 | 73 69 6e 67 5f 61 63 74 |params.u|sing_act|
|000004b0| 69 6f 6e 3b 0d 09 09 76 | 61 72 20 6f 66 41 63 74 |ion;...v|ar ofAct|
|000004c0| 69 6f 6e 54 79 70 65 20 | 3d 20 61 65 5f 70 61 72 |ionType |= ae_par|
|000004d0| 61 6d 73 2e 6f 66 5f 61 | 63 74 69 6f 6e 5f 74 79 |ams.of_a|ction_ty|
|000004e0| 70 65 3b 0d 09 09 76 61 | 72 20 66 72 6f 6d 43 6c |pe;...va|r fromCl|
|000004f0| 69 65 6e 74 49 50 41 64 | 64 72 65 73 73 20 3d 20 |ientIPAd|dress = |
|00000500| 61 65 5f 70 61 72 61 6d | 73 2e 66 72 6f 6d 5f 63 |ae_param|s.from_c|
|00000510| 6c 69 65 6e 74 5f 49 50 | 5f 61 64 64 72 65 73 73 |lient_IP|_address|
|00000520| 3b 0d 09 09 76 61 72 20 | 77 69 74 68 46 75 6c 6c |;...var |withFull|
|00000530| 52 65 71 75 65 73 74 20 | 3d 20 61 65 5f 70 61 72 |Request |= ae_par|
|00000540| 61 6d 73 2e 77 69 74 68 | 5f 66 75 6c 6c 5f 72 65 |ams.with|_full_re|
|00000550| 71 75 65 73 74 3b 0d 09 | 09 76 61 72 20 77 69 74 |quest;..|.var wit|
|00000560| 68 43 6f 6e 6e 65 63 74 | 69 6f 6e 49 44 20 3d 20 |hConnect|ionID = |
|00000570| 61 65 5f 70 61 72 61 6d | 73 2e 77 69 74 68 5f 63 |ae_param|s.with_c|
|00000580| 6f 6e 6e 65 63 74 69 6f | 6e 5f 49 44 3b 0d 09 09 |onnectio|n_ID;...|
|00000590| 0d 09 09 76 61 72 20 72 | 65 73 70 6f 6e 73 65 20 |...var r|esponse |
|000005a0| 3d 20 68 65 61 64 65 72 | 3b 0d 09 09 72 65 73 70 |= header|;...resp|
|000005b0| 6f 6e 73 65 20 2b 3d 20 | 22 3c 48 54 4d 4c 3e 3c |onse += |"<HTML><|
|000005c0| 48 45 41 44 3e 3c 54 49 | 54 4c 45 3e 4a 61 76 61 |HEAD><TI|TLE>Java|
|000005d0| 53 63 72 69 70 74 20 43 | 47 49 3c 2f 54 49 54 4c |Script C|GI</TITL|
|000005e0| 45 3e 3c 48 45 41 44 3e | 22 0d 09 09 72 65 73 70 |E><HEAD>|"...resp|
|000005f0| 6f 6e 73 65 20 2b 3d 20 | 22 70 61 74 68 3a 20 22 |onse += |"path: "|
|00000600| 20 2b 20 70 61 72 61 6d | 50 61 74 68 20 2b 20 22 | + param|Path + "|
|00000610| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00000620| 65 20 2b 3d 20 22 73 65 | 61 72 63 68 69 6e 67 46 |e += "se|archingF|
|00000630| 6f 72 3a 20 22 20 2b 20 | 73 65 61 72 63 68 69 6e |or: " + |searchin|
|00000640| 67 46 6f 72 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |gFor + "|<br>";..|
|00000650| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 77 69 |.respons|e += "wi|
|00000660| 74 68 50 6f 73 74 65 64 | 44 61 74 61 3a 20 22 20 |thPosted|Data: " |
|00000670| 2b 20 77 69 74 68 50 6f | 73 74 65 64 44 61 74 61 |+ withPo|stedData|
|00000680| 20 2b 20 22 3c 62 72 3e | 22 3b 0d 09 09 72 65 73 | + "<br>|";...res|
|00000690| 70 6f 6e 73 65 20 2b 3d | 20 22 6f 66 43 6f 6e 74 |ponse +=| "ofCont|
|000006a0| 65 6e 74 54 79 70 65 3a | 20 22 20 2b 20 6f 66 43 |entType:| " + ofC|
|000006b0| 6f 6e 74 65 6e 74 54 79 | 70 65 20 2b 20 22 3c 62 |ontentTy|pe + "<b|
|000006c0| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|000006d0| 2b 3d 20 22 75 73 69 6e | 67 41 63 63 65 73 73 4d |+= "usin|gAccessM|
|000006e0| 65 74 68 6f 64 3a 20 22 | 20 2b 20 75 73 69 6e 67 |ethod: "| + using|
|000006f0| 41 63 63 65 73 73 4d 65 | 74 68 6f 64 20 2b 20 22 |AccessMe|thod + "|
|00000700| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00000710| 65 20 2b 3d 20 22 66 72 | 6f 6d 41 64 64 72 65 73 |e += "fr|omAddres|
|00000720| 73 3a 20 22 20 2b 20 66 | 72 6f 6d 41 64 64 72 65 |s: " + f|romAddre|
|00000730| 73 73 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |ss + "<b|r>";...r|
|00000740| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 66 72 6f 6d |esponse |+= "from|
|00000750| 55 73 65 72 3a 20 22 20 | 2b 20 66 72 6f 6d 55 73 |User: " |+ fromUs|
|00000760| 65 72 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |er + "<b|r>";...r|
|00000770| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 75 73 69 6e |esponse |+= "usin|
|00000780| 67 50 61 73 73 77 6f 72 | 64 3a 20 22 20 2b 20 75 |gPasswor|d: " + u|
|00000790| 73 69 6e 67 50 61 73 73 | 77 6f 72 64 20 2b 20 22 |singPass|word + "|
|000007a0| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|000007b0| 65 20 2b 3d 20 22 77 69 | 74 68 55 73 65 72 49 6e |e += "wi|thUserIn|
|000007c0| 66 6f 3a 20 22 20 2b 20 | 77 69 74 68 55 73 65 72 |fo: " + |withUser|
|000007d0| 49 6e 66 6f 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |Info + "|<br>";..|
|000007e0| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 66 72 |.respons|e += "fr|
|000007f0| 6f 6d 53 65 72 76 65 72 | 3a 20 22 20 2b 20 66 72 |omServer|: " + fr|
|00000800| 6f 6d 53 65 72 76 65 72 | 20 2b 20 22 3c 62 72 3e |omServer| + "<br>|
|00000810| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|00000820| 20 22 76 69 61 50 6f 72 | 74 3a 20 22 20 2b 20 76 | "viaPor|t: " + v|
|00000830| 69 61 50 6f 72 74 20 2b | 20 22 3c 62 72 3e 22 3b |iaPort +| "<br>";|
|00000840| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00000850| 65 78 65 63 75 74 69 6e | 67 42 79 3a 20 22 20 2b |executin|gBy: " +|
|00000860| 20 65 78 65 63 75 74 69 | 6e 67 42 79 20 2b 20 22 | executi|ngBy + "|
|00000870| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00000880| 65 20 2b 3d 20 22 72 65 | 66 65 72 72 65 64 42 79 |e += "re|ferredBy|
|00000890| 3a 20 22 20 2b 20 72 65 | 66 65 72 72 65 64 42 79 |: " + re|ferredBy|
|000008a0| 20 2b 20 22 3c 62 72 3e | 22 3b 0d 09 09 72 65 73 | + "<br>|";...res|
|000008b0| 70 6f 6e 73 65 20 2b 3d | 20 22 66 72 6f 6d 42 72 |ponse +=| "fromBr|
|000008c0| 6f 77 73 65 72 3a 20 22 | 20 2b 20 66 72 6f 6d 42 |owser: "| + fromB|
|000008d0| 72 6f 77 73 65 72 20 2b | 20 22 3c 62 72 3e 22 3b |rowser +| "<br>";|
|000008e0| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|000008f0| 75 73 69 6e 67 41 63 74 | 69 6f 6e 3a 20 22 20 2b |usingAct|ion: " +|
|00000900| 20 75 73 69 6e 67 41 63 | 74 69 6f 6e 20 2b 20 22 | usingAc|tion + "|
|00000910| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00000920| 65 20 2b 3d 20 22 6f 66 | 41 63 74 69 6f 6e 54 79 |e += "of|ActionTy|
|00000930| 70 65 3a 20 22 20 2b 20 | 6f 66 41 63 74 69 6f 6e |pe: " + |ofAction|
|00000940| 54 79 70 65 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |Type + "|<br>";..|
|00000950| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 66 72 |.respons|e += "fr|
|00000960| 6f 6d 43 6c 69 65 6e 74 | 49 50 41 64 64 72 65 73 |omClient|IPAddres|
|00000970| 73 3a 20 22 20 2b 20 66 | 72 6f 6d 43 6c 69 65 6e |s: " + f|romClien|
|00000980| 74 49 50 41 64 64 72 65 | 73 73 20 2b 20 22 3c 62 |tIPAddre|ss + "<b|
|00000990| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|000009a0| 2b 3d 20 22 77 69 74 68 | 46 75 6c 6c 52 65 71 75 |+= "with|FullRequ|
|000009b0| 65 73 74 3a 20 22 20 2b | 20 77 69 74 68 46 75 6c |est: " +| withFul|
|000009c0| 6c 52 65 71 75 65 73 74 | 20 2b 20 22 3c 62 72 3e |lRequest| + "<br>|
|000009d0| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|000009e0| 20 22 77 69 74 68 43 6f | 6e 6e 65 63 74 69 6f 6e | "withCo|nnection|
|000009f0| 49 44 3a 20 22 20 2b 20 | 77 69 74 68 43 6f 6e 6e |ID: " + |withConn|
|00000a00| 65 63 74 69 6f 6e 49 44 | 20 2b 20 22 3c 62 72 3e |ectionID| + "<br>|
|00000a10| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|00000a20| 20 22 3c 2f 48 54 4d 4c | 3e 22 0d 09 7d 0d 09 63 | "</HTML|>"..}..c|
|00000a30| 61 74 63 68 20 28 65 29 | 0d 09 7b 0d 09 09 72 65 |atch (e)|..{...re|
|00000a40| 73 70 6f 6e 73 65 20 3d | 20 68 65 61 64 65 72 20 |sponse =| header |
|00000a50| 2b 20 22 45 72 72 6f 72 | 3a 20 22 20 2b 20 65 2e |+ "Error|: " + e.|
|00000a60| 74 6f 53 74 72 69 6e 67 | 28 29 3b 0d 09 7d 0d 09 |toString|();..}..|
|00000a70| 0d 09 72 65 74 75 72 6e | 20 72 65 73 70 6f 6e 73 |..return| respons|
|00000a80| 65 3b 0d 7d 4d 41 52 4b | 31 2e 30 30 f8 00 18 90 |e;.}MARK|1.00....|
|00000a90| 41 4e 59 41 4a 73 63 72 | 00 01 00 0c fa de de ad |ANYAJscr|........|
|00000aa0| 00 00 00 32 32 2e 30 34 | 00 00 00 00 00 00 08 fc |...22.04|........|
|00000ab0| 00 0e 00 00 00 85 48 44 | 44 53 70 98 19 4d 00 00 |......HD|DSp..M..|
|00000ac0| 00 00 00 00 00 00 4a 84 | c8 7c 75 64 00 00 04 fa |......J.|.|ud....|
|00000ad0| 09 09 85 c0 09 09 00 00 | 08 fc 66 75 6e 63 74 69 |........|..functi|
|00000ae0| 6f 6e 20 68 61 6e 64 6c | 65 5f 43 47 49 5f 72 65 |on handl|e_CGI_re|
|00000af0| 71 75 65 73 74 28 61 65 | 5f 70 61 72 61 6d 73 29 |quest(ae|_params)|
|00000b00| 20 7b 0d 09 76 61 72 20 | 68 65 61 64 65 72 20 3d | {..var |header =|
|00000b10| 20 22 48 54 54 50 2f 31 | 2e 30 20 32 30 30 20 4f | "HTTP/1|.0 200 O|
|00000b20| 4b 5c 6e 53 65 72 76 65 | 72 3a 20 4d 61 63 48 54 |K\nServe|r: MacHT|
|00000b30| 54 50 5c 6e 4d 49 4d 45 | 2d 56 65 72 73 69 6f 6e |TP\nMIME|-Version|
|00000b40| 3a 20 31 2e 30 5c 6e 43 | 6f 6e 74 65 6e 74 2d 74 |: 1.0\nC|ontent-t|
|00000b50| 79 70 65 3a 20 74 65 78 | 74 2f 68 74 6d 6c 5c 6e |ype: tex|t/html\n|
|00000b60| 5c 6e 22 3b 0d 09 0d 09 | 74 72 79 0d 09 7b 0d 09 |\n";....|try..{..|
|00000b70| 09 76 61 72 20 70 61 72 | 61 6d 50 61 74 68 20 3d |.var par|amPath =|
|00000b80| 20 61 65 5f 70 61 72 61 | 6d 73 2e 6f 66 3b 0d 09 | ae_para|ms.of;..|
|00000b90| 09 76 61 72 20 73 65 61 | 72 63 68 69 6e 67 46 6f |.var sea|rchingFo|
|00000ba0| 72 20 3d 20 61 65 5f 70 | 61 72 61 6d 73 2e 73 65 |r = ae_p|arams.se|
|00000bb0| 61 72 63 68 69 6e 67 5f | 66 6f 72 3b 0d 09 09 76 |arching_|for;...v|
|00000bc0| 61 72 20 77 69 74 68 50 | 6f 73 74 65 64 44 61 74 |ar withP|ostedDat|
|00000bd0| 61 20 3d 20 61 65 5f 70 | 61 72 61 6d 73 2e 77 69 |a = ae_p|arams.wi|
|00000be0| 74 68 5f 70 6f 73 74 65 | 64 5f 64 61 74 61 3b 0d |th_poste|d_data;.|
|00000bf0| 09 09 76 61 72 20 6f 66 | 43 6f 6e 74 65 6e 74 54 |..var of|ContentT|
|00000c00| 79 70 65 20 3d 20 61 65 | 5f 70 61 72 61 6d 73 2e |ype = ae|_params.|
|00000c10| 6f 66 5f 63 6f 6e 74 65 | 6e 74 5f 74 79 70 65 3b |of_conte|nt_type;|
|00000c20| 0d 09 09 76 61 72 20 75 | 73 69 6e 67 41 63 63 65 |...var u|singAcce|
|00000c30| 73 73 4d 65 74 68 6f 64 | 20 3d 20 61 65 5f 70 61 |ssMethod| = ae_pa|
|00000c40| 72 61 6d 73 2e 75 73 69 | 6e 67 5f 61 63 63 65 73 |rams.usi|ng_acces|
|00000c50| 73 5f 6d 65 74 68 6f 64 | 3b 0d 09 09 76 61 72 20 |s_method|;...var |
|00000c60| 66 72 6f 6d 41 64 64 72 | 65 73 73 20 3d 20 61 65 |fromAddr|ess = ae|
|00000c70| 5f 70 61 72 61 6d 73 2e | 66 72 6f 6d 5f 61 64 64 |_params.|from_add|
|00000c80| 72 65 73 73 3b 0d 09 09 | 76 61 72 20 66 72 6f 6d |ress;...|var from|
|00000c90| 55 73 65 72 20 3d 20 61 | 65 5f 70 61 72 61 6d 73 |User = a|e_params|
|00000ca0| 2e 66 72 6f 6d 5f 75 73 | 65 72 3b 0d 09 09 76 61 |.from_us|er;...va|
|00000cb0| 72 20 75 73 69 6e 67 50 | 61 73 73 77 6f 72 64 20 |r usingP|assword |
|00000cc0| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 75 73 69 6e |= ae_par|ams.usin|
|00000cd0| 67 5f 70 61 73 73 77 6f | 72 64 3b 0d 09 09 76 61 |g_passwo|rd;...va|
|00000ce0| 72 20 77 69 74 68 55 73 | 65 72 49 6e 66 6f 20 3d |r withUs|erInfo =|
|00000cf0| 20 61 65 5f 70 61 72 61 | 6d 73 2e 77 69 74 68 5f | ae_para|ms.with_|
|00000d00| 75 73 65 72 5f 69 6e 66 | 6f 3b 0d 09 09 76 61 72 |user_inf|o;...var|
|00000d10| 20 66 72 6f 6d 53 65 72 | 76 65 72 20 3d 20 61 65 | fromSer|ver = ae|
|00000d20| 5f 70 61 72 61 6d 73 2e | 66 72 6f 6d 5f 73 65 72 |_params.|from_ser|
|00000d30| 76 65 72 3b 0d 09 09 76 | 61 72 20 76 69 61 50 6f |ver;...v|ar viaPo|
|00000d40| 72 74 20 3d 20 61 65 5f | 70 61 72 61 6d 73 2e 76 |rt = ae_|params.v|
|00000d50| 69 61 5f 70 6f 72 74 3b | 0d 09 09 76 61 72 20 65 |ia_port;|...var e|
|00000d60| 78 65 63 75 74 69 6e 67 | 42 79 20 3d 20 61 65 5f |xecuting|By = ae_|
|00000d70| 70 61 72 61 6d 73 2e 65 | 78 65 63 75 74 69 6e 67 |params.e|xecuting|
|00000d80| 5f 62 79 3b 0d 09 09 76 | 61 72 20 72 65 66 65 72 |_by;...v|ar refer|
|00000d90| 72 65 64 42 79 20 3d 20 | 61 65 5f 70 61 72 61 6d |redBy = |ae_param|
|00000da0| 73 2e 72 65 66 65 72 72 | 65 64 5f 62 79 3b 0d 09 |s.referr|ed_by;..|
|00000db0| 09 76 61 72 20 66 72 6f | 6d 42 72 6f 77 73 65 72 |.var fro|mBrowser|
|00000dc0| 20 3d 20 61 65 5f 70 61 | 72 61 6d 73 2e 66 72 6f | = ae_pa|rams.fro|
|00000dd0| 6d 5f 62 72 6f 77 73 65 | 72 3b 0d 09 09 76 61 72 |m_browse|r;...var|
|00000de0| 20 75 73 69 6e 67 41 63 | 74 69 6f 6e 20 3d 20 61 | usingAc|tion = a|
|00000df0| 65 5f 70 61 72 61 6d 73 | 2e 75 73 69 6e 67 5f 61 |e_params|.using_a|
|00000e00| 63 74 69 6f 6e 3b 0d 09 | 09 76 61 72 20 6f 66 41 |ction;..|.var ofA|
|00000e10| 63 74 69 6f 6e 54 79 70 | 65 20 3d 20 61 65 5f 70 |ctionTyp|e = ae_p|
|00000e20| 61 72 61 6d 73 2e 6f 66 | 5f 61 63 74 69 6f 6e 5f |arams.of|_action_|
|00000e30| 74 79 70 65 3b 0d 09 09 | 76 61 72 20 66 72 6f 6d |type;...|var from|
|00000e40| 43 6c 69 65 6e 74 49 50 | 41 64 64 72 65 73 73 20 |ClientIP|Address |
|00000e50| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 66 72 6f 6d |= ae_par|ams.from|
|00000e60| 5f 63 6c 69 65 6e 74 5f | 49 50 5f 61 64 64 72 65 |_client_|IP_addre|
|00000e70| 73 73 3b 0d 09 09 76 61 | 72 20 77 69 74 68 46 75 |ss;...va|r withFu|
|00000e80| 6c 6c 52 65 71 75 65 73 | 74 20 3d 20 61 65 5f 70 |llReques|t = ae_p|
|00000e90| 61 72 61 6d 73 2e 77 69 | 74 68 5f 66 75 6c 6c 5f |arams.wi|th_full_|
|00000ea0| 72 65 71 75 65 73 74 3b | 0d 09 09 76 61 72 20 77 |request;|...var w|
|00000eb0| 69 74 68 43 6f 6e 6e 65 | 63 74 69 6f 6e 49 44 20 |ithConne|ctionID |
|00000ec0| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 77 69 74 68 |= ae_par|ams.with|
|00000ed0| 5f 63 6f 6e 6e 65 63 74 | 69 6f 6e 5f 49 44 3b 0d |_connect|ion_ID;.|
|00000ee0| 09 09 0d 09 09 76 61 72 | 20 72 65 73 70 6f 6e 73 |.....var| respons|
|00000ef0| 65 20 3d 20 68 65 61 64 | 65 72 3b 0d 09 09 72 65 |e = head|er;...re|
|00000f00| 73 70 6f 6e 73 65 20 2b | 3d 20 22 3c 48 54 4d 4c |sponse +|= "<HTML|
|00000f10| 3e 3c 48 45 41 44 3e 3c | 54 49 54 4c 45 3e 4a 61 |><HEAD><|TITLE>Ja|
|00000f20| 76 61 53 63 72 69 70 74 | 20 43 47 49 3c 2f 54 49 |vaScript| CGI</TI|
|00000f30| 54 4c 45 3e 3c 48 45 41 | 44 3e 22 0d 09 09 72 65 |TLE><HEA|D>"...re|
|00000f40| 73 70 6f 6e 73 65 20 2b | 3d 20 22 70 61 74 68 3a |sponse +|= "path:|
|00000f50| 20 22 20 2b 20 70 61 72 | 61 6d 50 61 74 68 20 2b | " + par|amPath +|
|00000f60| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|00000f70| 6e 73 65 20 2b 3d 20 22 | 73 65 61 72 63 68 69 6e |nse += "|searchin|
|00000f80| 67 46 6f 72 3a 20 22 20 | 2b 20 73 65 61 72 63 68 |gFor: " |+ search|
|00000f90| 69 6e 67 46 6f 72 20 2b | 20 22 3c 62 72 3e 22 3b |ingFor +| "<br>";|
|00000fa0| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00000fb0| 77 69 74 68 50 6f 73 74 | 65 64 44 61 74 61 3a 20 |withPost|edData: |
|00000fc0| 22 20 2b 20 77 69 74 68 | 50 6f 73 74 65 64 44 61 |" + with|PostedDa|
|00000fd0| 74 61 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |ta + "<b|r>";...r|
|00000fe0| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 6f 66 43 6f |esponse |+= "ofCo|
|00000ff0| 6e 74 65 6e 74 54 79 70 | 65 3a 20 22 20 2b 20 6f |ntentTyp|e: " + o|
|00001000| 66 43 6f 6e 74 65 6e 74 | 54 79 70 65 20 2b 20 22 |fContent|Type + "|
|00001010| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00001020| 65 20 2b 3d 20 22 75 73 | 69 6e 67 41 63 63 65 73 |e += "us|ingAcces|
|00001030| 73 4d 65 74 68 6f 64 3a | 20 22 20 2b 20 75 73 69 |sMethod:| " + usi|
|00001040| 6e 67 41 63 63 65 73 73 | 4d 65 74 68 6f 64 20 2b |ngAccess|Method +|
|00001050| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|00001060| 6e 73 65 20 2b 3d 20 22 | 66 72 6f 6d 41 64 64 72 |nse += "|fromAddr|
|00001070| 65 73 73 3a 20 22 20 2b | 20 66 72 6f 6d 41 64 64 |ess: " +| fromAdd|
|00001080| 72 65 73 73 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |ress + "|<br>";..|
|00001090| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 66 72 |.respons|e += "fr|
|000010a0| 6f 6d 55 73 65 72 3a 20 | 22 20 2b 20 66 72 6f 6d |omUser: |" + from|
|000010b0| 55 73 65 72 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |User + "|<br>";..|
|000010c0| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 75 73 |.respons|e += "us|
|000010d0| 69 6e 67 50 61 73 73 77 | 6f 72 64 3a 20 22 20 2b |ingPassw|ord: " +|
|000010e0| 20 75 73 69 6e 67 50 61 | 73 73 77 6f 72 64 20 2b | usingPa|ssword +|
|000010f0| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|00001100| 6e 73 65 20 2b 3d 20 22 | 77 69 74 68 55 73 65 72 |nse += "|withUser|
|00001110| 49 6e 66 6f 3a 20 22 20 | 2b 20 77 69 74 68 55 73 |Info: " |+ withUs|
|00001120| 65 72 49 6e 66 6f 20 2b | 20 22 3c 62 72 3e 22 3b |erInfo +| "<br>";|
|00001130| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00001140| 66 72 6f 6d 53 65 72 76 | 65 72 3a 20 22 20 2b 20 |fromServ|er: " + |
|00001150| 66 72 6f 6d 53 65 72 76 | 65 72 20 2b 20 22 3c 62 |fromServ|er + "<b|
|00001160| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00001170| 2b 3d 20 22 76 69 61 50 | 6f 72 74 3a 20 22 20 2b |+= "viaP|ort: " +|
|00001180| 20 76 69 61 50 6f 72 74 | 20 2b 20 22 3c 62 72 3e | viaPort| + "<br>|
|00001190| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|000011a0| 20 22 65 78 65 63 75 74 | 69 6e 67 42 79 3a 20 22 | "execut|ingBy: "|
|000011b0| 20 2b 20 65 78 65 63 75 | 74 69 6e 67 42 79 20 2b | + execu|tingBy +|
|000011c0| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|000011d0| 6e 73 65 20 2b 3d 20 22 | 72 65 66 65 72 72 65 64 |nse += "|referred|
|000011e0| 42 79 3a 20 22 20 2b 20 | 72 65 66 65 72 72 65 64 |By: " + |referred|
|000011f0| 42 79 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |By + "<b|r>";...r|
|00001200| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 66 72 6f 6d |esponse |+= "from|
|00001210| 42 72 6f 77 73 65 72 3a | 20 22 20 2b 20 66 72 6f |Browser:| " + fro|
|00001220| 6d 42 72 6f 77 73 65 72 | 20 2b 20 22 3c 62 72 3e |mBrowser| + "<br>|
|00001230| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|00001240| 20 22 75 73 69 6e 67 41 | 63 74 69 6f 6e 3a 20 22 | "usingA|ction: "|
|00001250| 20 2b 20 75 73 69 6e 67 | 41 63 74 69 6f 6e 20 2b | + using|Action +|
|00001260| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|00001270| 6e 73 65 20 2b 3d 20 22 | 6f 66 41 63 74 69 6f 6e |nse += "|ofAction|
|00001280| 54 79 70 65 3a 20 22 20 | 2b 20 6f 66 41 63 74 69 |Type: " |+ ofActi|
|00001290| 6f 6e 54 79 70 65 20 2b | 20 22 3c 62 72 3e 22 3b |onType +| "<br>";|
|000012a0| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|000012b0| 66 72 6f 6d 43 6c 69 65 | 6e 74 49 50 41 64 64 72 |fromClie|ntIPAddr|
|000012c0| 65 73 73 3a 20 22 20 2b | 20 66 72 6f 6d 43 6c 69 |ess: " +| fromCli|
|000012d0| 65 6e 74 49 50 41 64 64 | 72 65 73 73 20 2b 20 22 |entIPAdd|ress + "|
|000012e0| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|000012f0| 65 20 2b 3d 20 22 77 69 | 74 68 46 75 6c 6c 52 65 |e += "wi|thFullRe|
|00001300| 71 75 65 73 74 3a 20 22 | 20 2b 20 77 69 74 68 46 |quest: "| + withF|
|00001310| 75 6c 6c 52 65 71 75 65 | 73 74 20 2b 20 22 3c 62 |ullReque|st + "<b|
|00001320| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00001330| 2b 3d 20 22 77 69 74 68 | 43 6f 6e 6e 65 63 74 69 |+= "with|Connecti|
|00001340| 6f 6e 49 44 3a 20 22 20 | 2b 20 77 69 74 68 43 6f |onID: " |+ withCo|
|00001350| 6e 6e 65 63 74 69 6f 6e | 49 44 20 2b 20 22 3c 62 |nnection|ID + "<b|
|00001360| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00001370| 2b 3d 20 22 3c 2f 48 54 | 4d 4c 3e 22 0d 09 7d 0d |+= "</HT|ML>"..}.|
|00001380| 09 63 61 74 63 68 20 28 | 65 29 0d 09 7b 0d 09 09 |.catch (|e)..{...|
|00001390| 72 65 73 70 6f 6e 73 65 | 20 3d 20 68 65 61 64 65 |response| = heade|
|000013a0| 72 20 2b 20 22 45 72 72 | 6f 72 3a 20 22 20 2b 20 |r + "Err|or: " + |
|000013b0| 65 2e 74 6f 53 74 72 69 | 6e 67 28 29 3b 0d 09 7d |e.toStri|ng();..}|
|000013c0| 0d 09 0d 09 72 65 74 75 | 72 6e 20 72 65 73 70 6f |....retu|rn respo|
|000013d0| 6e 73 65 3b 0d 7d 00 00 | 01 00 00 00 13 84 00 00 |nse;.}..|........|
|000013e0| 12 84 00 00 00 b6 08 c2 | bf 8c 04 fa 00 00 00 1c |........|........|
|000013f0| 00 aa 00 06 53 49 5a 45 | 00 00 00 3a 73 70 73 68 |....SIZE|...:spsh|
|00001400| 00 00 00 46 70 72 65 66 | 00 00 00 52 57 50 6f 73 |...Fpref|...RWPos|
|00001410| 00 00 00 5e 73 63 70 74 | 00 00 00 6a 44 42 47 68 |...^scpt|...jDBGh|
|00001420| 00 00 00 76 54 45 58 54 | 00 00 00 82 00 01 ff ff |...vTEXT|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 ff ff 00 00 00 0e |........|........|
|00001440| 00 00 00 00 00 80 ff ff | 00 00 00 14 00 00 00 00 |........|........|
|00001450| 00 80 ff ff 00 00 00 1a | 00 00 00 00 00 80 ff ff |........|........|
|00001460| 00 00 00 32 00 00 00 00 | 00 80 ff ff 00 00 09 4e |...2....|.......N|
|00001470| 00 00 00 00 07 d0 00 00 | 00 00 09 84 00 00 00 00 |........|........|
|00001480| 0b 53 6f 75 72 63 65 20 | 54 65 78 74 |.Source |Text |
+--------+-------------------------+-------------------------+--------+--------+