[Users] reading passed env variables from within php script

Iqbal iqbal at gigo.co.uk
Fri Nov 18 12:11:38 CET 2005


php is the same, just $_ENV['SIP_USER']  or whatever the variable is, 
but it displays nothing, I have also used getenv();

Iqbal

Bogdan-Andrei Iancu wrote:

> Hi Iqbal,
>
> not sure how is in php, but i remember that in perl, the env. 
> variables were kept in a sort of array....
>
> regards,
> bogdan
>
> Iqbal wrote:
>
>> Hi
>>
>> 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
>>
>> iqbal
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>
>
>
> .
>




More information about the sr-users mailing list