How to use ini_set?
Posted: Tue Jun 20, 2006 3:44 am
Can anyone tell me how can i use ini_set() function ??
Suppose I have 2 file in
/home/project/etc/conf.php -> conf.php
/home/project/index.php -> index.php
So How can I do above thing through ini_set() ??
I have so many path define in conf.php.. So in each and every php file How can I include it ??
Suppose I have 2 file in
/home/project/etc/conf.php -> conf.php
/home/project/index.php -> index.php
Code: Select all
<?php
//conf.php
$mess="Done... Conf is coming from etc/conf.php";
?>Code: Select all
<?php
//index.php
include (conf.php); // Conf should call from etc/conf.php //
print $mess;
?>I have so many path define in conf.php.. So in each and every php file How can I include it ??