thanks to ray i just searched around the manual
i got his
ini_set
(PHP 4 >= 4.0RC1)
ini_set -- Set the value of a configuration option
Description
string ini_set (string varname, string newvalue)
Sets the value of the given configuration option. Returns the old value on success,
FALSE on failure. The configuration option will keep this new value during the
script's execution, and will be restored at the script's ending.
its in the file "function.ini-set.html" of the manual
can someone teach me how to use it
for example in my php.ini on my pc i can set paths as i wish
this is how i have
include_path = ".;C:/phpdev/php/includes;C:/phpdev/php/class;C:/phpdev/www/phplib;C:/phpdev/www/phplib/pages;C:/phpdev/www/phplib/php;C:/phpdev/www/phplib/stuff"
i must make it in my host server also
how to use this ini_set function
i tried it like this
$my_include = ".;C:/phpdev/php/includes;C:/phpdev/php/class;C:/phpdev/www/phplib;C:/phpdev/www/phplib/pages;C:/phpdev/www/phplib/php;C:/phpdev/www/phplib/stuff";
$result = ini_set("include_path",$my_include);
and also this
$result = ini_set("PHP_INCLUDE_PATH",$my_include);
i cant just understand the manual (may be i aint so bright enough as i make myself - lol)
thanks again ray
some one is gonna tell me for sure i know