I was wondering if there is a way to have one login screen that accesses both applications (FileManagaer and MutliTextEditor).
Change the applist.xml in this way:
<?xml version="1.0" encoding="utf-8" ?>
<data>
<apps>
<application name="TextEditor" filename="texteditor.swf" icon="editorIcon" phpFile="texteditor.php" />
<application name="FileManager" filename="filemanager.swf" icon="FileManagerIcon" phpFile="filemanager.php" />
</apps>
</data>
You can setup seperate applist xml’s for each user. Change additionally the user.inc.php (bin/php/):
$user["user1"] = Array("demo", "demo", "guest", "./ret", "applist.xml");
$user["user2"] = Array("admin", "admin", "admin", "..", "admin.xml");
Why can’t I upload large files (bigger than 2mb)?
Upload size and problems The maximal size for files to upload is restricted by the server in php.ini. There are two settings that take effect on the upload process: upload_max_filesize ( 2mb by default) and post_max_size (8 mb by default) If you have ptoblems with uploading large files paste this PHP script in an empty file, load it to your server and run it in a browser session:
<?php
function let_to_num($v)
{ //This function transforms the php.ini notation for numbers (like '2M') to an integer (2*1024*1024 in this case)
$l = substr($v, -1);
$ret = substr($v, 0, -1);
switch(strtoupper($l)){
case 'P':
$ret *= 1024;
case 'T':
$ret *= 1024;
case 'G':
$ret *= 1024;
case 'M':
$ret *= 1024;
case 'K':
$ret *= 1024;
break;
}
return $ret;
}
$max_upload_size = min(let_to_num(ini_get('post_max_size')), let_to_num(ini_get('upload_max_filesize')));
echo "Maximum upload file size is ".($max_upload_size/(1024*1024))."mb.";
?>
You will get the maximum upload size. This script is part of the documentation and will show your max upload size if you point in a browser to the quickstart guide of FileManager.

31 Purchases
29 Comments