A little muddy, yes. I don't know what you mean by "does
its own display." Doesn't PHP always produce HTML for
the browser, which does the display?
Do you mean "creates a whole page or just the body?"
The php include tests that I've done with this package
are interesting. If I create a page with html for head and
body -- a properly formed "shell" page with just a title --
and then I insert the php include statement that the
survey package recommends within the body like this:
<BODY>
<?php $sid=3;
include("/usr/local/lib/php/contrib/phpESP/public/handle
r.php"
;?>
</BODY>
then save the page with .php extension to my server
and browse to it, the page works fine. The survey is
functional. If I then "view source", the page is what I
would expect. The HTML is reasonable and the survey
package did its work by nserting html within the BODY
of the page only.
If I create a totally empty file, put this in it:
<?php $sid=3;
include("/usr/local/lib/php/contrib/phpESP/public/handle
r.php"
;?>
and save it with a php extenstion, browse to, it also
works. However, now when I view the source, I see that
the necessary <HTML> and <HEAD> and <BODY> tags
have been inserted by some magic.
So, do you consider this php to be "doing its own
display" or not, and more to the point, is there any
reason to think that this would need the sort of
"wrapper" of a gl function that you described, or not?
Thanks.