Source for file io.php
Documentation is available at io.php
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
* For further information visit:
* http://www.fckeditor.net/
* "Support Open Source software. What about a donation today?"
* This is the File Manager Connector for ASP.
* Frederico Caldeira Knabben (fredck@fckeditor.net)
if ( $resourceType ==
'' )
return RemoveFromEnd( $GLOBALS["UserFilesPath"], '/' ) .
$folderPath ;
return $GLOBALS["UserFilesPath"] .
$resourceType .
$folderPath ;
// Get the resource type directory.
$sResourceTypePath =
$GLOBALS["UserFilesDirectory"] .
$resourceType .
'/' ;
// Ensure that the directory exists.
// Return the resource type directory combined with the required path.
$sPattern =
"-[/\\\\][^/\\\\]+[/\\\\]?$-" ;
// Check if the parent exists, or create it.
// Turn off all error reporting.
// Enable error tracking to catch the error.
// To create the folder with 0777 permissions, we need to set umask to zero.
mkdir( $folderPath, 0777 ) ;
$sErrorMsg =
$php_errormsg ;
// Restore the configurations.
$sSelfPath =
$_SERVER['PHP_SELF'] ;
$sSelfPath =
substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ;
Documentation generated on Sun, 09 Mar 2008 23:52:14 -0300 by phpDocumentor 1.4.0