|
我是按照手册的例子做的
$tb_data = array(
'ping_url' => 'http://localhost/distz/trackback/receive/456',
'url' => 'http://localhost/distz/post/tyq/sss',
'title' => 'The Title of My Entry',
'excerpt' => 'The entry content.',
'blog_name' => 'My Blog Name',
'charset' => 'utf-8'
);
echo var_dump($this->trackback->send($tb_data));
if ( ! $this->trackback->send($tb_data))
{
echo $this->trackback->display_errors();
}
else
{
echo 'Trackback was sent!';
}
最后报错 :An unknown error was encountered
咋回事呢????
|
|