我只是打开这个话题,因为我试图解决这个问题好几天......
Error_log [08-Aug-2013 14:57:37 UTC] PHP 严格标准:上传::Download() 的声明应该与 DownloadClass::Download($link, $FileName, $cookie = 0, $post = 0 兼容, $referer = '', $caching = false) 在 /home/srv26/public_html/hosts/uploaded.class.php 第 3 行
第 3 行:
final class uploaded extends DownloadClass implements Hosts {
有人知道这个错误吗?谢谢大家!=)
final class uploaded extends DownloadClass implements Hosts {
public static function Download($link, $caching = false) {
parent::Download($Frag, '', $Cookies, 0, '', $caching);
}
}
abstract class DownloadClass extends cmmf {
protected static function Download($link, $FileName, $cookie = 0, $post = 0, $referer = '', $caching = false){
[..........]
}
}
上传的.class文件是这样的……
final class uploaded extends DownloadClass implements Hosts {
public static function Download($link, $caching = false) {
parent::Download($Frag, '', $Cookies, 0, '', $caching);
}
}
DownloadClass
abstract class DownloadClass extends cmmf {
protected static function Download($link, $FileName, $cookie = 0, $post = 0, $referer = '', $caching = false){
[..........]
}
}