Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/07/2011, 06:43
hollowmanf
 
Fecha de Ingreso: enero-2009
Mensajes: 246
Antigüedad: 15 años, 4 meses
Puntos: 1
Problemas con la creacion de una carpeta

Hola amigos tengo este codigo:

Código PHP:
<?php 
############################################################## 
## makedir - andrew heebner - [email protected] - 10/03/1999 ## 
## ## 
## name this file - tests.php3 ## 
############################################################## 

// start main makedir function 
if ($makedir == "makedir") { 
$content "$direct"
$dirmake mkdir("$content"0777); 

// display link to directory after making it 
print "<center>\n"
print 
"<a href=\"$content\">click here to view your new directory</a>\n"
print 
"</center>\n"



// main form to input information 
print "<form action=\"tests.php?action=direct\">\n"
print 
"<input type=\"text\" name=\"direct\" size=\"15\">\n"
print 
"<br>\n"
print 
"<input type=\"submit\" name=\"makedir\" value=\"makedir\">\n"
print 
"</form>\n"

?>
Cuando tipeo la carpeta y presiono sobre el boton me dice que creo la carpeta pero al mirar mi servidor por ftp no creo nada, alguien puede decirme donde puede estar el error que no me crea la carpeta.

Salu2 y gracias