note 63733 deleted from configuration.changes by bjori
| From: | bjori@php.net | Date: | Wed, 29 Mar 2006 13:35:51 +0000 |
| Subject: | note 63733 deleted from configuration.changes by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106947@lists.php.net to get a copy of this message | ||
Note Submitter: bannier at laposte dot net
Reason: non-english
----
Il semblerait qu'il ne soit pas possible d'affecter une variable de configuration
n'appartenant pas aux variables prédéfinie de PHP en utilisant php_value.
Exemple :
fichier .htaccess :
php_value ma_variable "ma valeur"
fichier affiche_valeur.php :
$ma_variable = ini_get('ma_variable');
if ($ma_variable='') echo 'ma variable est vide';
Affichage :
ma variable est vide
-------------
English Translation :
It seems that it is not possible to set a variable with php_value that don't belong to php
predefined configuration variables.
Example :
.htaccess file :
php_value my_variable "my value"
display_value.php file :
$my_variable = ini_get('my_variable');
if ($ma_variable='') echo 'my variable is empty';
display :
my variable is empty