本文整理匯總了PHP中project::removefiles方法的典型用法代碼示例。如果您正苦於以下問題:PHP project::removefiles方法的具體用法?PHP project::removefiles怎麽用?PHP project::removefiles使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類project
的用法示例。
在下文中一共展示了project::removefiles方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: user
<?php
session_start();
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/common.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/project.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/user.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/common/class/config.class.php";
$objuser = new user();
$objuser->checkLoginAjax();
$objproject = new project();
$objproject->removefiles($_GET['fileid']);
//echo "";
//$objjobtype=new jobs();
/*$i=0;
foreach ($_POST['jobtype'] as $data)
{
if($data!="")
$i++;
}
if($i==0)
{
echo "script:wrongStatus(document.getElementById('jobtype'),\"Select at least one\");";
exit();
}*/
//$objjobtype->add($_POST);
//echo "script: messageBox('Job Posted',function() { window.location='index.php'; });";