Re: [PHP] Calling Perl from PHP -- Help --

2001-03-06 Thread Julian Wood
I think you're looking for passthru (or perhaps system or exec). If your php is like this: and hello.pl is like this: #!/usr/bin/perl print 'Args:'.join(' ', @ARGV); Your web page will read: Args:yay You'll probably need to change the method of input (to use @ARGV instead of <>) on your Po

[PHP] Calling Perl from PHP -- Help --

2001-03-05 Thread Matt Friedman
I'm stumped. I've searched all over and can't figure this one out. I have a perl script that waits for input on the command line. You type in a string and it returns a string. I'd like to be able to this via php, since I can't rewrite the script in php, since it's a little over my head. So, h