提示错误: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in nusoap.php on line 6496就是说在 nusoap.php 的第 6496 行处,遇到了一个字符串或变量的表现形式,而实际并不需要! 问题出在这行的前面,即6495行处或者更前一点贴出那附近的代码 windows下正常而Linux提示错误 则可能存在大小写问题(包括传入的参数)、回车符、路径符
提示是这行。。 $this->wsdl =& new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout);
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in nusoap.php on line 6496就是说在 nusoap.php 的第 6496 行处,遇到了一个字符串或变量的表现形式,而实际并不需要!
问题出在这行的前面,即6495行处或者更前一点贴出那附近的代码
windows下正常而Linux提示错误
则可能存在大小写问题(包括传入的参数)、回车符、路径符
$this->wsdl =& new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout);
$this->wsdl =& new wsdl($this->wsdlFile,$this->proxyhost,$this->proxyport,$this->proxyusername,$this->proxypassword,$this->timeout,$this->response_timeout);
那么分别检查
$this->wsdlFile
$this->proxyhost
$this->proxyport
$this->proxyusername
$this->proxypassword
$this->timeout
$this->response_timeout
的值是否正确