[greenstone-users] custom macros, extra.dm, and php

From Anson Parker
DateTue, 02 Jan 2007 15:52:15 -0500
Subject [greenstone-users] custom macros, extra.dm, and php
In-Reply-To (459A3AA8-60200-ulib-sk)
Hi all,
I'm trying to get my head around the extra.dm files, and not getting too
far...
here's an attempt to get phpinfo to print out on my pages.... not sure what
the problem is, all it does is output the h3 information, and it appears to
continue on normally as if the rest of it isn't there. Am I escaping the
script properly and is this the right way to use the extra.dm file? Thanks

Anson


package about

_textabout_ {
<div class="section">
<h3>Very Interesting Reports Collection.</h3>
<?php

# // Show all information, defaults to INFO_ALL
phpinfo();

#// Show just the module information.
#// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>
_Global:collectionextra_
</div>
}

_________________________________________________________________
The MSN Entertainment Guide to Golden Globes is here. Get all the scoop.
http://tv.msn.com/tv/globes2007/