12-13-2007, 10:12 PM
|
#3 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
I'm guessing you mean that you want to rewrite the file to have different values for each named constant?
if it was me i'd just truncate the exsiting file, then write to the file with the new constants
PHP Code:
$fh = fopen('file', 'w');
the 'w' places the file pointer at the beginning of the file and then truncates the file to zero length.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|