Re: Re: PHP and CGI
| From: | Ben Dunlap | Date: | Wed, 19 Aug 2009 18:00:31 +0000 |
| Subject: | Re: Re: PHP and CGI | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296978@lists.php.net to get a copy of this message | ||
> That's exactly the case. I have been running my business on a Perl
> cart for the last 5+ years, and I can't switch to a PHP cart just yet. I
> was just hoping to add some functionality with PHP. Perl was much harder
It would probably bomb your performance but you could always call a
separate PHP script from your Perl code:
#!/usr/bin/perl
# do some stuff in perl
my $php_output =
/usr/bin/php whatever.php
# do something with $php_output
1;
If you're just looking to add some features quickly to your existing
Perl code: Have you searched CPAN for what you need?
Ben