Re:PHP
| From: | llclmc | Date: | Fri, 13 Sep 2002 01:17:45 +0000 |
| Subject: | Re:PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116227@lists.php.net to get a copy of this message | ||
I am trying to copy *.log files to a file called dir.data. Does anyone have a suggestion on the php
code to use? I am using Redhat 7.0. Using "ls *.log > dir.data doesn't work.
Also does anyone know how to insert a text on about the 4 or 5 line of a file using php? I can add
text to the end of a file and to the beginning, but I'm not sure how to do it for specific
lines.
Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002