Re: [PHP-DB] php/other language (perl)

2005-02-24 Thread mel list_php
Hi,
Thanks for the tip Robby! (on my way I even found a soap pear package but 
that's an other story...)
I had a look at it, but it works only with php5, and I'm hosted on php4. So 
even if I can use it locally I won't be able to use it on line.
So I'm back at my starting point.

My question was has somebody here ever done an "hybrid" application, with 
perl and php? Is there a way of doing it without going through the "system" 
command? If not how can I ensure the security of that call? Is there 
something obvious here that I'm missing?

Thanks for any help.

From: Robby Russell <[EMAIL PROTECTED]>
To: mel list_php <[EMAIL PROTECTED]>
CC: php-db@lists.php.net
Subject: Re: [PHP-DB] php/other language (perl)
Date: Wed, 23 Feb 2005 06:22:17 -0800
On Wed, 2005-02-23 at 10:54 +, mel list_php wrote:
> Hi,
>
> I'm used to work with php/MySQL, and have developped a web app in php.
> As I'm working on biological applications, I would like to use some of 
the
> BioPerl features.
> My first idea was calling perl through php (system command). But I'm
> wondering about the security issues, as some data (for example 
sequences)
> will be entered by my users, and I don't really know if safe_mode can 
help
> me here.
> My second idea was to make a kind of hybrid application, keeping the php
> structure that is already implemented and adding just some pages in 
perl.
> I don't know if this is possible, first to use the both at the same 
time,
> then they both will have to connect to the database.
>
> Does anybody here has any experience of that kind of thing or could 
point me
> to a doc?
> Thanks a lot.
>

Try this perhaps: http://pecl.php.net/package/perl
--
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

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



Re: [PHP-DB] php/other language (perl)

2005-02-23 Thread Robby Russell
On Wed, 2005-02-23 at 10:54 +, mel list_php wrote:
> Hi,
> 
> I'm used to work with php/MySQL, and have developped a web app in php.
> As I'm working on biological applications, I would like to use some of the 
> BioPerl features.
> My first idea was calling perl through php (system command). But I'm 
> wondering about the security issues, as some data (for example sequences) 
> will be entered by my users, and I don't really know if safe_mode can help 
> me here.
> My second idea was to make a kind of hybrid application, keeping the php 
> structure that is already implemented and adding just some pages in perl.
> I don't know if this is possible, first to use the both at the same time, 
> then they both will have to connect to the database.
> 
> Does anybody here has any experience of that kind of thing or could point me 
> to a doc?
> Thanks a lot.
> 

Try this perhaps: http://pecl.php.net/package/perl

-- 
/***
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
/

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