Re: EUPHORIA CGI + Apache

new topic     » goto parent     » topic index » view thread      » older message » newer message

>From: Dave Probert <guest at RapidEuphoria.com>
>Reply-To: EUforum at topica.com
>To: EUforum at topica.com
>Subject: Re: EUPHORIA CGI + Apache
>Date: Sat, 26 Jun 2004 01:23:44 -0700
>
>posted by: Dave Probert <zingo at purpletiger.com>
>
>Quick update:
>The ContentType line works, but should actually be Content-Type
>
>The hyphen makes a big difference.
>

  Ah, sorry, I couldn't remember which it was. It was a bit late...

>Then the html tags work fine.
>
>For those who are also struggling and following this thread - don't forget 
>the \n\n at the end of the line - those matter too :)
>

  The \n\n signifies the end of the headers. You can do something longer 
like this, which shows why you would need them:

puts(1, "Content-Type: text/html\n")
printf(1, "Content-Length: %d\n", {length("some HTML code")})
puts(1, "Expires: Sunday, 27-Jun-2004 12:00:00 GMT\n")
puts(1, "\n")    --done headers
puts(1, "some HTML code")


~[ WingZone ]~
http://wingzone.tripod.com/

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN Premium   
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu