Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/08/2008, 22:45
Avatar de pato12
pato12
 
Fecha de Ingreso: septiembre-2007
Ubicación: Salta
Mensajes: 1.620
Antigüedad: 16 años, 7 meses
Puntos: 101
Respuesta: no puedo crear archivos

Hola,
Prueba haci:
Código PHP:
$dir='directorio/directorio2/';
$c=mkdir($dir0777);  
if(
$c){
//datos personales 
$new .= "<"."?\n"
$new .="\$variable = \"alguna otra variable\";\n"
$new .= "?".">"
$crer fopen($dir."archivo.php","a+"); 
fputs($crer,$new); 
fclose($crer); } 
Suerte
Salu2
__________________
Half Music - www.halfmusic.com