Ver Mensaje Individual
  #8 (permalink)  
Antiguo 21/10/2009, 20:05
leophp
 
Fecha de Ingreso: julio-2002
Ubicación: stgo rec
Mensajes: 438
Antigüedad: 21 años, 9 meses
Puntos: 3
Pregunta Respuesta: bajar archivo desde mysql al servidor

Hola

ahora estoy usando el siguente codigo para crear el archivo

Código:
	$nombre_temp = tempnam("/tmp", "picm_");
	$gestor = fopen($nombre_temp, "a");
	fwrite($gestor, $row_foto[0]);
	fclose($gestor);
pero se cae en la linea 2 al intentar abrir el archivo, el mensaje de error es es siguiente:

Warning: fopen():SAFE MODE Restriction in effect. the script whose uid is 3639 is not allowed to acces /tmp/picm_zyyd36 owned by uid

Warning:
fopen(/tmp/picm_zyyd36): failed to open stream:

Sera que mi hosting tiene algun tipo de bloqueo sobre la carpeta temporal
__________________
Saludos
Leo