Hi,

Ive got a PHP script,  and hjave a Perl(CGI) script set up, for a
specific function...

Is it possible - Within the PHP script, to "activate" the Perl script,
& assign the results/output  to a variable...

I'll then continue my PHP script to loop through the variable, &
extract the result...

(the Perl script is already created - else where, I'm just using its
function in my PHP script - easier than re-programming the PHP)

Example :-

$as = exec (script.pl);   ?? - or "system" ? Or another command ?


(Then loop - & extract the line I need)

I cant locate any on php.net that assigns the result to a variable

-- 
G
NZ community groups - [EMAIL PROTECTED]
Freecycle Auckland :-
http://groups.yahoo.com/group/AucklandFreecycle/

Reply via email to