Re: howto pass php variable to perl
| From: | Burhan Khalid | Date: | Thu, 22 May 2003 12:40:29 +0000 |
| Subject: | Re: howto pass php variable to perl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148546@lists.php.net to get a copy of this message | ||
Hello Patrick,
Thursday, May 22, 2003, 7:15:53 AM, you wrote:
PA> Hi I am trying to pass a variable in php to a perl script. Is this possible
PA> and if so... how? I realize this may be a bit more of a perl question but
PA> hopefully someone here can help.
If the file is on a webserver, and the proper fopen() settings are
enabled, you should be able to simply do :
fopen("http://www.server.com/cgi-bin/file.cgi?".$var=$val&val2=var2,
"r");
--
Best regards,
Burhan