PHP Script: <? $var = 1; passthru(/home/test.cgi $var); ?> PERL Script(test.cgi): #!/usr/bin/perl print "Content-type: text/html\n\n"; $var = $ARGV[0]; print "Value: $var"; OUTPUT: Content-type: text/html Value: 1
wee hee!
In reply to Re^4: Passing variables from PHP to Perl using passthru()
by cdherold
in thread Passing variables from PHP to Perl using passthru()
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |