RE: [PHP] howto pass php variable to perl
| From: | Patrick Ahler | Date: | Thu, 22 May 2003 12:53:51 +0000 |
| Subject: | RE: [PHP] howto pass php variable to perl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148550@lists.php.net to get a copy of this message | ||
fopen("http://www.server.com/cgi-bin/file.cgi?".$var=$val&val2=var2,
"r"); -------- what's the r for?
thanks
-Patrick
-----Original Message-----
From: Burhan Khalid [mailto:phplist@meidomus.com]
Sent: Thursday, May 22, 2003 8:40 AM
To: Patrick Ahler; php-general@lists.php.net
Subject: Re: [PHP] howto pass php variable to perl
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php