Re: Re: PHP and CGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>        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

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux