
09/07/2009, 13:05
|
 | | | Fecha de Ingreso: agosto-2008 Ubicación: R.D
Mensajes: 1.153
Antigüedad: 16 años, 7 meses Puntos: 139 | |
Respuesta: Funcion "Si ya existe has esto" Código PHP: <?php $id_con = ftp_connect("localhost"); $nombre_usuario_ftp="edgar2"; $contrasenya_ftp="gateway"; $path="/"; $path.=$dir; $resultado_login = ftp_login($id_con, $nombre_usuario_ftp, $contrasenya_ftp); $res=@ftp_mkdir($id_con,$path); ftp_close($id_con); if($res)
{ echo "<div align=center><h1>Se ha creado con exito</h1>"; } else {echo "<div align=center><h1>No se ha podido crear</h1>";} ?> <form method="post"> <label> <input type="text" name="dir" /> </label> <label> <input type="submit" value="Crear" /> </label> </form
Otros link http://www.forosdelweb.com/f18/crear..._mkdir-127612/ http://foro.hospedajeydominios.com/a...hp/t-1633.html |