[Zope] PHParser
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Wed, 14 Aug 2002 18:43:03 +0200
hi,
just another one: maybe you should edit PHParser.py. Uncomment the
second PHPEOL at the beginning of the file.
-mj
Maik Jablonski wrote:
> hi,
>
> I guess you use: http://www.zope.org/Members/mjablonski/PHParser
>
> - which zope-version do you run?
> - do you run Zope under windows or linux?
>
> it's important to have no newlines in front of your <?php ...?>
> -definition if your document is called through the web!!! an additional
> newline will break the parsing of the response-header so that the header
> is printed on the screen.
>
> cheers,
> maik
>
> Kevin Sullivan wrote:
>
>> Hi,
>>
>> 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? I tried making some edits
>> to php.ini. Im asking here, because I don't have this problem on my
>> regular php/apache servers. Thanks.
>>
>> Kevin Sullivan, MCP, A+
>> Systems Administrator
>> MIT Economics Dept
>> ksull@economics.mit.edu
>> 617-253-8895
>>
>>
>>
>> _______________________________________________
>> 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