gsh: (Default)
[personal profile] gsh
If I have a cgi program (test.cgi) that spits back text or html, how do I arrange it so the text it spits back is displayed?
I thought it would be <form action="https://xx.xx.xx.xx/cgi-bin/test.cgi"> but that isn't working.

Date: 2006-10-03 03:08 pm (UTC)
geekchick: (Default)
From: [personal profile] geekchick
Your code disappeared. =)

How are you spitting back the text? Do you have the content-type header set?

Date: 2006-10-03 03:24 pm (UTC)
geekchick: (Default)
From: [personal profile] geekchick
Yes, but give me a bit. (Concall)

Date: 2006-10-03 06:25 pm (UTC)
From: [identity profile] webqatch.livejournal.com
Add
print qq(Content-Type: text/html;\n\n\n) ;
before your output

June 2015

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 25th, 2026 10:34 am
Powered by Dreamwidth Studios