Hi,
i would like to do this.
Suppose there is a file named
config.inc.php
with contents
<?php
$abc="value";
?>
The n i use this file in another file
<?php
require("config.inc.php");
perform calculations on $abc;
Store value of $abc on config.inc.php
?>
Just tell me ghow can i store the new value of the variable $abc in config.inc.php so that any subsequent call to the file uses newer values everytime.
I basically want to keep the work done by one instance of a script so that the next instance can use it.
I know i may store values in a mysql database or evn by using file handling functions.
But this invlolves overheads!
Is there a more efficient implementation?
will be very greatful for a reply