Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: pass variables using #exec cgi

From: norsepower:uswest at: 8-Feb-2001 9:12

For the record, "yes" I was using a .shtml file, not .html. 8-) Here is how I solved the problem: Instead of an index.shtml file, I use an index.cgi file which executes a REBOL script as follows: #!cgi-bin/rebol -cs REBOL [] print "Content-Type: text/html^/" ;-- Required Page Header print read http://www.domain.dom/cgi-bin/display-messages.cgi?messageTypenews&messageID=none This is what I intended to do in the first place using the #exec cgi command in an .shtml file to pass variables. Since I couldn't get #exec cgi to pass variables, I let REBOL do the work. Thanks. -Ryan