Location:
Search - utility_all
Search list
Description: 通达OA最重要的函数库,希望大家能用到-通达OA最重要的函数库,希望大家能用到。。。。。
Platform: |
Size: 8192 |
Author: 赵鹏 |
Hits:
Description: function attach_real_path( $ATTACHMENT_ID, $ATTACHMENT_NAME, $MODULE = "" )
{
global $ATTACH_PATH
global $ATTACH_PATH2
if ( $MODULE == "" )
{
$MODULE = attach_sub_dir( )
}
if ( strstr( $ATTACHMENT_ID, "_" ) )
{
$PATH = $ATTACH_PATH2.$MODULE."/".str_replace( "_", "/", $ATTACHMENT_ID )
$FILENAME = $PATH.".".$ATTACHMENT_NAME
}
else
{
$PATH = $ATTACH_PATH.$ATTACHMENT_ID
$FILENAME = $PATH."/".$ATTACHMENT_NAME
}
return $FILENAME
}
Platform: |
Size: 14336 |
Author: 胡志刚 |
Hits: