you know what.... forget this whole thing.... I just need to know how do i clear the file contents.... set it 0 length.... I cannot delete the file.... no permission....
"Vins" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 ??? > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php