if ( count( $this->to ) + count( $this->cc ) + count( $this->bcc ) < 1 )
{
( $this->Lang( "provide_address" ), self::STOP_CRITICAL );
throw new phpmailerException( );
}
上面代码运行报错:Parse error: syntax error, unexpected ',' in E:\PHPnow-1.5.6\htdocs\source\core\util\class.phpmailer.php on line 272
272行代码是: ( $this->Lang( "provide_address" ), self::STOP_CRITICAL );
{
( $this->Lang( "provide_address" ), self::STOP_CRITICAL );
throw new phpmailerException( );
}
上面代码运行报错:Parse error: syntax error, unexpected ',' in E:\PHPnow-1.5.6\htdocs\source\core\util\class.phpmailer.php on line 272
272行代码是: ( $this->Lang( "provide_address" ), self::STOP_CRITICAL );
解决方案 »
- discuz 高手来!!!!!!!!急。。。。。。。。。。
- 最后一点分,请教一个入门问题
- 刚装上 easyphp,测试http://localhost/home 显示:Not Found
- 有没有PHP代码生成器工具?
- 关于 Apache共享80端口问题 [iis(asp),tomcat(jsp),apache(php)]
- [PHP]我在IIS上运行php,但是出了点问题,返回405 Method not allowed
- 用discuz的时候,遇到了这样的问题
- 谁有现成的 模拟qq登陆 php
- 关于php的api
- 注册页面对应的函数得不到文本控件的值
- nginx的alias用proxy转发
- 求各位大神看一下我写的接口 有点问题 帮忙看一下
这个是什么东西?确定前面没有代码了,这个应该是调用一个函数吧?
protected function PreSend( )
{
try
{
$mailHeader = "";
if ( count( $this->to ) + count( $this->cc ) + count( $this->bcc ) < 1 )
{
( $this->Lang( "provide_address" ), self::STOP_CRITICAL );
throw new phpmailerException( );
}
if ( !empty( $this->AltBody ) )
{
$this->ContentType = "multipart/alternative";
}
[code=php]protected function PreSend( )
{
try
{
$mailHeader = "";
if ( count( $this->to ) + count( $this->cc ) + count( $this->bcc ) < 1 )
{
//你这里想要做什么?语法肯定过不了的
( $this->Lang( "provide_address" ), self::STOP_CRITICAL);
throw new phpmailerException( );
}
请问你这个是啥子