Hi,<br><br>I&#39;ve created a mapfile as a PHP/Smarty template file with a bunch of template variables in it in order to manage my mapfiles more efficiently.&nbsp; I&#39;d like to create my PHP mapObj from the string the template returns, rather than write the template result to a file and then have the mapObj read in that file to create itself.&nbsp; I&#39;m checking the documentation, and it appears that a mapObj can be created from a file.&nbsp; Can someone confirm if this is true?&nbsp; If so (or not), does anyone know of an easier workaround than write-to-file/read-in-file to do this?&nbsp; I ask, because doing it this way defeats some of the template caching speed enhancements that Smarty gives me (this workaround adds a write-to/read-from disk to the chain of events).<br>
<br>By the way, if you do use PHP/Mapscript with a mapfile that can be templated, Smarty is a pretty good solution, imho (modulo this problem).<br><br>Thanks,<br>Matt<br clear="all"><br>-- <br>It is from the wellspring of our despair and the places that we are broken that we come to repair the world.<br>
-- Murray Waas