Jason Carson wrote:
> Hello everybody,
>
> How would I go about writing stuff to a file but in between the
> tags?
>
> Example, say I have config.php as follows...
>
>
> $hostname = "localhost";
> $database = "database";
> $username = "username";
> $password = "password";
>
> ?>
>
> How wou
In article <[EMAIL PROTECTED]>, vallee.marc-
[EMAIL PROTECTED] says...
> Hi,
>
> Here is a foo.txt file :
>
> name=foo
> age=100
> sex=y
>
> I want to open the file, find the age line, and then replace the 100 with
> another value.
> The only way i see, is to rewrite the entire file
Th
2 matches
Mail list logo