You are not logged in Log in Join
You are here: Home » Members » mjablonski » PHParser - a PHP-Parser for ZOPE » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/mjablonski/PHParser
Title resource name PHParser - a PHP-Parser for ZOPE
Description resource summary **Please note: I do not maintain the PHParser anymore because I've converted all my PHP/MySQL-Scripts to Zope/Python/ZCatalog. PHParser has fulfilled his historical mission for me and I'm very glad of getting rid of PHP...** "Wei He":mailto:[email protected] has taken over this project and released a better version of PHParser. You can download it here: "http://www.zope.org/Members/hewei/PHParser":http://www.zope.org/Members/hewei/PHParser. PHParser is a ZOPE-Product which is based heavily on the DTML-Document-Class. A PHParser will give you all the features of a DTML-Document + all the features of PHP. This means that you can mix DTML into your PHP-Code. PHParser is a real subclass of the DTML-Document-class. So you can use Cache-Managers, FTP, WebDav and so on a PHParser. To state it clearly: PHParser only modifies the __caller__-function from the DTML-Document-class, the rest is acquired from the DTML-Document-class. PHParser works as a postprocessor: After rendering all DTML-tags in your document, PHParser will pipe the result through an external PHP-Interpreter. PHParser submits the QUERY_STRING via the environment and sets the $PHP_SELF-variable, which isn't set normally if you invoke PHP as an interpreter. So most simple scripts will work without changes (at least mine did so..;-)). The header and body of the returned result will be decoded, so you can use PHP-'Header'-functions. This is useful for redirects {Header('Location: http://www.zope.org/')} and the creation of images. The php codes are interpreted by the "php" execution file. If users have build PHP as an Apache Module, this file doesn't exist. In other words: You have to compile/install PHP as a Command-Line-Intepreter and make sure that ZOPE can execute it. If PHParser won't work on Windows, please (un)comment the PHPath-Variable at the beginning of PHParser.py.
Creator resource creator ZopeOrgSite
Date default date 2002-11-06 05:07:36
Format resource format text/html
Type resource type Software Package
Subject resource keywords External Access
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2002-11-06 05:07:36
ModificationDate date resource last modified 2002-11-06 05:07:36
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati