Re: [greenstone-users] custom macros,, and php

From Richard Managh
DateWed, 03 Jan 2007 12:12:35 +1300
Subject Re: [greenstone-users] custom macros,, and php
In-Reply-To (BAY120-F3344111F510A481616D767C9BA0-phx-gbl)
Hi Anson,

The problem here is that your webserver uses greenstone to spit out html directly to a users browser, your webserver also uses php to spit out html directly to a users browser, just not normally at the same time. In your case your webserver is using greenstone to directly generate that page, and php isnt in the loop. You could try inserting an iframe in your page that points to a file ending in .php, that will hopefully tell your webserver to interpret the contents of your iframe as php, and get you the desired result.



DL Consulting
Greenstone Digital Library and Digitisation Specialists

Anson Parker wrote:
Hi all,
I'm trying to get my head around the 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 file?  Thanks


package about

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

# // Show all information, defaults to INFO_ALL

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


The MSN Entertainment Guide to Golden Globes is here.  Get all the scoop.

_______________________________________________ greenstone-users mailing list