You are here: Re: [PHP] how to delete lines in a txt file using php. « PHP « IT news, forums, messages
Re: [PHP] how to delete lines in a txt file using php.

Posted by "Richard Lynch" on 07/12/05 08:26

On Mon, July 11, 2005 4:13 pm, babu said:
> $f=fopen($file,"w");

http://php.net/fopen

"w" will open the file for WRITING, a fresh, new, EMPTY file.

You want "r+" or "a+" or "w+" or something similar.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация