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

About {
<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.


This is a collection of email messages from the Greenstone mailing list archives. The collection includes _about:numdocs_ messages from the beginning of the mailing list in April 2000. It is updated nightly with new messages from the previous day. The mailing list is used for communicating with the entire Greenstone team, therefore the content of the messages is usually global in nature. The mailing list is also a good way of getting help with problems - someone on the team will probably be able to help you.

This collection may be useful for finding solutions to common problems, or simply for tracking the progress of the Greenstone software.

To subscribe to the Greenstone Users mailing list, please click here.


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

_______________________________________________ greenstone-users mailing list