Hi,
I am wondering about putenv().
I would like to set an environment variable in php and then have that
variable available to a Perl script.
I am doing something like this.
The php file:
<?
$myName = "carter";
putenv("A_NAME=$myName");
?>
Then in the Perl script:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print $ENV{'A_NAME'};
exit;
I think I may be misunderstanding how environment variables work.
Any thoughts?
Carter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]