Topic: Create folder

I have a code to create a folder but I get the same name and if I leave it blank does not work.


    
                             
                            

File '. $folder.' exists

'; }else{ Dir::create( '../public/uploads/'.$folder ); Request::redirect($site_url.'admin/index.php?id=filesmanager&path='.$folder); } } echo ( '
'. Form::open(null, array('enctype' => 'multipart/form-data')). Form::input('text', ' ', array('type' => 'text', 'name' => 'folderName')).Html::br(). Form::submit( 'folderName', __('Create folder', 'filesmanager'), array( 'class' => 'btn default btn-small')). Form::close() .'
' ); ?>
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website