start | find | index | login or register | edit
2002-06-13
by earl, 5851 days ago
chris you rock!


snippet of the day: the improved vanilla cgi wrapper

-- snip ---
#!/usr/local/bin/rebol -cs
REBOL [ Title: "synerge vanilla/R cgi wrapper" ]
if find
decode-cgi system/options/cgi/query-string
to-set-word "debug"
[ print "Content-type: text/plain^/^/" ]

do load to-file join last (parse system/options/script "/") ".conf"
do load to-file join vanilla-root "vanilla.r"
--- snap ---
powered by vanilla
echo earlZstrainYat|tr ZY @.
earl.strain.at • esa3 • online for 6316 days • c'est un vanilla site