[Zope] Saving a Rendered DTML Document
Asad Habib
ahabib at engin.umich.edu
Thu Dec 8 10:04:33 EST 2005
Hello. Thanks for your input. I tried doing this but it didn't work.
- Asad
On Thu, 8 Dec 2005, Robert (Jamie) Munro wrote:
> Asad Habib wrote:
>
>> Hello. The PHP script that I use relies on a path to locate the HTML file
>> on the file system and since the DTML document is a Zope object, it does
>> not have access to that. I also tried using a Zope File object as well as a
>> DTML document that is part of a Local File System. Using a Zope File object
>> does not work since the ouput of a rendered DTML document is text and
>> providing the PHP script a Zope File filled with plain text does not work.
>> The same goes for a DTML document that is part of a Local File System, once
>> the document is rendered it is plain text.
>>
> Normally in PHP if you replace the file path with a URL starting http:// (or
> ftp:// etc.) it will fetch the file from the web instead of the file system,
> no problem.
>
> Robert Munro
>
>
More information about the Zope
mailing list