Re: beginner:php scripts,header attached to output Why?

On Thu, 4 May 2000, Hariharan Jayaram wrote:

> Hi I am a beginner to Jigsaw server and php.
> I got php and Jigsaw configured to work together to create a new
> extension. 
> Using instructions I found at http://www.circle.ch
> However the php script although it works well and produces output, the
> server always attaches the header to the output.
> Hence I have my php file as 
> 
> <HTML>
> <HEAD>
> <TITLE> Hello Date program</TITLE>
> </HEAD>
> <BODY>
> TODAYS DATE: <? print(Date("1 F d, Y")); ?>
> </BODY>
> </HTML> 
>  
> AND when I say 
> http://localhost:8001/hello.php3
> I get the following output
> 
> Content-type: text/html TODAYS DATE: 1 May 04, 2000
> 
> Why is the content/typw header automatically attached to my output. How
> can I prevent this
> ANy help will be greatly appreciated

What are the settings of your CgiFrame?
Mine are:
No Header      : false
Generates Form : true
Remote Host    : false
Debug          : false

with the "interpreter" setup the right way, which should be the case
already.

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Monday, 29 May 2000 08:50:38 UTC