[mapserver-users] Sorta Off Topic - Putting PHP code in a CGI script?

Tyler Mitchell TMitchell at lignum.com
Thu Feb 28 16:09:46 EST 2002


Hi guys, I'm new to both CGI and PHP, but saw an example somewhere in a CGI
script that allowed you to enter in raw HTML instead of putting in a
separate PRINT command for it.  I cannot, for the life of me, find this
example again though.  I though it would allow me to easy put in PHP stuff
into my CGI script.
I thought it went something like this:

.......
$query->start_html;
print "bleh bleh";
ECHO END >>>>
<B>This is bold</B>
<? PHP script stuff ?>
END <<<<
$query->end_html;

Know what I mean?  I don't know what you call this and have searched and
searched the docs with no avail :(




More information about the mapserver-users mailing list