Environment variables...
- From: david.bercot@xxxxxxxxxx (David BERCOT)
- Date: Wed, 14 Mar 2007 15:32:31 +0100
Hi,
I'd like to read an environment variable with PHP.
I've tried with :
exec ('echo $CONTEXTE_D_EXECUTION',$result);
$result is empty !!!
I've put the variable in /etc/environment, in /etc/profile,
in /etc/bash.bashrc but nothing worked...
Do you have any idea ?
If it is not possible, I suppose I can put a variable in php.ini ?
Thank you very much.
David.
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PHP] Environment variables...
- From: "Richard Lynch"
- Re: [PHP] Environment variables...
- From: Erik Jones
- Re: [PHP] Environment variables...
- From: "Tijnema !"
- Re: [PHP] Environment variables...
- Prev by Date: Re: [PHP] PHP URL issues
- Next by Date: Re: [PHP] Environment variables...
- Previous by thread: Re: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache
- Next by thread: Re: [PHP] Environment variables...
- Index(es):
Relevant Pages
|