Tema: archivos
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/07/2003, 09:40
Avatar de camargo
camargo
 
Fecha de Ingreso: abril-2002
Ubicación: Kerétaro, Méjiko
Mensajes: 1.045
Antigüedad: 22 años
Puntos: 2
Código PHP:
$fichero file("primerfile.txt");
$array=explode("|"$fichero[$i]);
$dato $array[0];
$insertar "$dato";

$a1 fopen("hola.txt""a+");
flock($a1,2);
$fw fwrite($a1$dato);
fclose($a1); 
Esto responde tu pregunta ;)

Salu2
__________________
http://www.chorcha.com