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

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to