Hola queria que me ayuden con este problema:
tengo instalado
EasyPHP 1.7 y al ejecuta este script me dice que la variable makedir is undefined. No se como solucionar eso no se si es un error de php o de apache
(por si no conocen easyphp les cuanto que junta php apache MySql)
muchas gracias
Código:
<?php
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.php3?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";
?>
muchas gracias
[/SIZE]