Re: Some advice on working with files
| From: | Billy Harvey | Date: | Tue, 27 Jun 2000 21:32:57 +0000 |
| Subject: | Re: Some advice on working with files | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3454@lists.php.net to get a copy of this message | ||
John Biesnecker writes:
> I dealt with the problem myself just recently (yesterday, in fact). The
> best solution I found was to write C scripts and execute them from PHP
> (because C offers much more robust filehandling stuff) but, barring that,
> I'd read it all into an array and manipulate the individual lines...
> otherwise modifying text files is a real pain.
How would you handle file locking in PHP, or would this alone be a
good enough reason to call an external program?
Billy