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