PHP in PErl
From: Gary (reachus_at_netlink.info)
Date: 08/25/04
- Next message: Steve Bennett: "need help reading/writing binary"
- Previous message: Jim Schueler: "Tricky AUTOLOAD behavior"
- Next in thread: nobull_at_mail.com: "Re: PHP in PErl"
- Reply: nobull_at_mail.com: "Re: PHP in PErl"
- Reply: Joe Smith: "Re: PHP in PErl"
- Reply: Wayne Power: "Re: PHP in PErl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 24 Aug 2004 23:21:50 -0400
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
- Next message: Steve Bennett: "need help reading/writing binary"
- Previous message: Jim Schueler: "Tricky AUTOLOAD behavior"
- Next in thread: nobull_at_mail.com: "Re: PHP in PErl"
- Reply: nobull_at_mail.com: "Re: PHP in PErl"
- Reply: Joe Smith: "Re: PHP in PErl"
- Reply: Wayne Power: "Re: PHP in PErl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|