I would be very instersted to know how you made it works.
i have got a php script with this (test1.php)
PHP Code:
<?php
$foo='bar';
exec('./essai.pl $foo');
?>
and a perl script with this:
Code:
#!/usr/bin/perl -s
use vars ($foo);
if ($foo eq bar){
print $foo;
}
What i am trying to achieve is just to print out the content of the variable.
The idea behind that, is php front end sending the filename to the perl script to process.
Does it make sense ?
Thanks for any replys