文件名称:utility_all
介绍说明--下载内容均来自于网络,请自行研究使用
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
}
{
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
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
utility_all.php