D
Dave F
Is it possible to embed some PHP script in an HTML stream being
returned from a Perl script? I know it sounds wacky, but I'd like
to use chart library that uses PHP's support for the GD library.
PHP works on the system (I know .php files in the html
folder are served fine, so PHP is running.)
I've tried:
1. The standard <?php ... script area ... ?> within the HTML
being built by Perl -- HTML comes OK, nothing for the PHP
2. Script within a <SCRIPT TYPE='php'> ... script area ... </SCRIPT>
Same as 1.
3. Using print "content-type: application/x-php\n\n";
Instead of print "content-type: text/html\n\n";
This pops a window saying Mozilla needs to know what to use
to handle this file type.
Is there any way to tell the web server to run the content returned
by Perl though the PHP processor? I am trying to do this on both a
Windows/Sambar system and an Apache/Mandrake 9.2 system.
Any information is appreciated.
- Dave Fischer
returned from a Perl script? I know it sounds wacky, but I'd like
to use chart library that uses PHP's support for the GD library.
PHP works on the system (I know .php files in the html
folder are served fine, so PHP is running.)
I've tried:
1. The standard <?php ... script area ... ?> within the HTML
being built by Perl -- HTML comes OK, nothing for the PHP
2. Script within a <SCRIPT TYPE='php'> ... script area ... </SCRIPT>
Same as 1.
3. Using print "content-type: application/x-php\n\n";
Instead of print "content-type: text/html\n\n";
This pops a window saying Mozilla needs to know what to use
to handle this file type.
Is there any way to tell the web server to run the content returned
by Perl though the PHP processor? I am trying to do this on both a
Windows/Sambar system and an Apache/Mandrake 9.2 system.
Any information is appreciated.
- Dave Fischer