G
Gary
I am calling a perl script that writes a WEB page - Plain and simple except
that the perl script also writes out some PHP processing. All works fine
when I just create an html file of the program but when I use perl to write
it the php tags are ignored ?
I have the apache Xbithack on so php is parsed for all html files and the
perl script says it is an html file as below.
This code is called from a WEB page
#!/usr/local/bin/perl
print <<END;
Content-type: text/html
<?php
SCRIPT etc etc
?>
END
PHP tags are just printed on the screen.
Any pointers.
Gary
that the perl script also writes out some PHP processing. All works fine
when I just create an html file of the program but when I use perl to write
it the php tags are ignored ?
I have the apache Xbithack on so php is parsed for all html files and the
perl script says it is an html file as below.
This code is called from a WEB page
#!/usr/local/bin/perl
print <<END;
Content-type: text/html
<?php
SCRIPT etc etc
?>
END
PHP tags are just printed on the screen.
Any pointers.
Gary