PHP5中不支持public和private等,要使用var,否则会出现一个类似错误:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\wwwroot\garfield\wwwroot\hszzs\include\UpLoadFile.php on line 4
PHP5中不支持public和private等,要使用var,否则会出现一个类似错误:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in d:\wwwroot\garfield\wwwroot\hszzs\include\UpLoadFile.php on line 4