In PHP use explicit names: preg_match( "/(foo bar)/",$SIP_HF_FROM,$match);
or _SERVER: preg_match( "/(foo bar)/", $_SERVER['argv'][2], $match);
-- Arek
Iqbal wrote:
php, if anyone has a sample php would love it, if I run it from the command line phpinfo() shows all, but from within ser, I just cant pull the variables used $_ENV, getenv(),
Iqbal
sip wrote:
I just used $1, etc in a shell script. What language is this? N.
On Mon, 21 Nov 2005 14:22:35 +0000, Iqbal wrote
done that :-),
Andreas Granig wrote:
Iqbal wrote:
I am trying to read the env variables which are passed in exec_msg, from within the script, and have tried $_ENV etc from with the script, but all blank, is there and easier/better way of getting the details in the message into a script