🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9337

escribir en ficheros

#9337
From: quantium
Date: Sun, 28 Jul 2002 22:46
17 lines
1557 bytes
Hola a todos.
Tengo un peque�o problema, me gustaria poder escribir en una determinada 
linea de un archivo llamado "fichero.txt" , este fichero contiene la 
siguientes lineas:

Estoy intentando escribir
en una linea determinada
de archivo de texto
usando php
y usando sus funciones

Bien, como podemos comprobar este fichero tiene 5 lineas, � sabeis 
alguna forma de poder escribir por ejemlo el la linea 4 y a�adirle: 
(programando y )  con lo que la linea 4 quedaria de la siguiente manera: 
programando y usando php

Bueno, un saludo a todos :-)
Technical Details
Message-ID: <3D447454.7070104@lycos.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!81-madr-x29.libre.retevision.ES!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,e51638a31a0ae377,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-07-28 15:47:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!81-madr-x29.libre.retevision.ES!not-for-mail
From: quantium <quantium@lycos.es>
Newsgroups: es.comp.os.linux.programacion
Subject: escribir en ficheros
Date: Mon, 29 Jul 2002 00:46:44 +0200
Lines: 18
Message-ID: <3D447454.7070104@lycos.es>
NNTP-Posting-Host: 81-madr-x29.libre.retevision.es (62.83.8.81)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1027896428 34610925 62.83.8.81 (16 [129971])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523
X-Accept-Language: en-us, en
X-Enigmail-Version: 0.62.4.0
X-Enigmail-Supports: pgp-inline, pgp-mime