Truncate ::: DAM!!!!!
| From: | vins | Date: | Thu, 18 Jul 2002 19:42:37 +0000 |
| Subject: | Truncate ::: DAM!!!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-108323@lists.php.net to get a copy of this message | ||
LOL......
So after my last post about updating files i sat and thought about all the
replies i got... and then a slap on the head solved the "DUH" problem
ereg_replace("\r\n", "\n", $DBfile);
I mean..... i am a dork as the best of times..
but now.... there is another problem....
the file length is 10 charactes but the new file length is 15....
I need to overright everything in the old file and somehow push the file
length to 15
it truncates..... what now ???