start | find | index | login or register | edit
Donnerstag, 13. Juni 2002 link aYago

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 ---

no comments

Please log in (you may want to register first) to post comments!

powered by vanilla
echo earlZstrainYat|tr ZY @. • esa3 • online for 7062 days • c'est un vanilla site