Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/03/2011, 14:21
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: Grabar datos en php

La cuestion esta aca:

$gestor=fopen($path1,"w+");

Fijate lo de w+:
http://php.net/manual/en/function.fopen.php

Cita:
'w+' Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it.
Usa: 'a'
así: $gestor=fopen($path1,"a");