hi, using "php -q" is not needed at all by PHParser, because it "decodes" the returned php-headers and puts them in the ZOPE-RESPONSE-object... this is useful if you whish to create png's and such stuff with PHParser. cheers, maik Andy McKay wrote:
This might be a php bug, I remeber helping someone out on #zope. I think you have to edit the product to execute php commands with -q flag:
E:\PHP>php -h Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]} -q Quiet-mode. Suppress HTTP Header output.
Darn now everyone knows I have PHP on my box... -- Andy McKay Agmweb Consulting http://www.agmweb.ca
----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Kevin Sullivan" <ksull@economics.mit.edu> Cc: <zope@zope.org> Sent: Wednesday, August 14, 2002 11:41 AM Subject: Re: [Zope] PHParser
Kevin Sullivan writes:
I know that I should be using Zope for everything, but we have a lot of scripts that were written in PHP and we don't have time to port them just yet. We are using PHParser to allow us to reuse the old scripts. However my scripts now come with X-Powered-By: PHP/4.1.2 Content-type: text/html printed at the top of the screen. Has anyone been able to fix this? Something added an empty line in the HTTP response headers.
Someone else has recently reported a similar problem (apparently unrelated to PHP). He got a reply indicating an Apache bug. But you do not mention Apache...
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Maik Jablonski __o www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group Bielefeld, Germany (_)/(_) www.dzug.org