Location: PHPKode > projects > Ajax File Manager - AjaxExplorer > ajaxexplorer/script/ucreate.php
<?php

/*
AjaxExplorer Copyright (C) 2007-2008 Syed Mohammad Sidque Tahir Al-Habshi

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Head to
GNU site http://www.gnu.org/licenses/ for license copy.
*/

$access='0016';
include 'core.php';

$name=Post('name');

if(($file=fopen('../user/record.php', 'a+')))
{
  mkdir('../user/'.$name);
  mkdir('../user/'.$name.'/My Profile');
  mkdir('../user/'.$name.'/Recycle Bin');
  fwrite($file, "\r\n".$name."\tc21f969b5f03d33d43e04f8f136e7682\t/\t0");
  echo $name.':/:0';
  fclose($file);
}

?>
Return current item: Ajax File Manager - AjaxExplorer