in reply to Re^3: system command and formatting
in thread system command and formatting

actually, in the php file, $foo="ID_106", its a string which has to be used in the system command. Example:
$foo="ID_106"; system("perl split.pl $foo");
now, the $foo variable is passed to the perl program. the variable $foo is used for system command in perl. example:
$bar=$ARGV[0]; (the argument input, so now $bar="ID_106") $var=system("grep -A 1 $bar *.txt"); print $var;
Over here, $var doesnt work :(