Hi Todd,

> -----Original Message-----
> My question.  Is it possible to dynamically generate a page using
> a PERL script that will in turn be interpreted as PHP by the
> server since I dont/wont have the option of ending the filename with PHP.
>
> My hope is that their is some directive that I can output at the
> start that will invoke the PHP interpreter so that my output will
> be run as a PHP script rather than just HTML.

        Its kind of ugly, but its possible to call a php script thru a system()
function in Perl.  You could write a php script to do the resize work for
you, and call it like...

        system ('/usr/local/bin/php resize.php');

        ... in Perl.  I don't prefer doing these kinds of things, but I guess I
don't personally have a better solution to your problem.  Maybe someone else
does?

-Dan Joseph



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to