[REBOL] Re: CGI problem
From: jason:cunliffe:verizon at: 11-Jan-2004 14:57
> #!/www/cgi/rebol -c
> REBOL [Title: "Server Time"]
> print "content-type: text/html^/"
> print [<HTML><BODY>]
> print ["Date/time is:" now]
> print [</BODY></HTML>]
Hmm.. try -cs in the first line
and perhaps you need string quotes around those html tags? Use either "" or
{}
#!/www/cgi/rebol -cs
REBOL [Title: "Server Time"]
print "content-type: text/html^/"
print ["<HTML><BODY>"]
print ["Date/time is:" now]
print [{</BODY></HTML>}]
hth
- Jason