我的代码运行良好,但不知何故 Yourls 只获得了网站标题的第一个字。它不会在第一个 Word 的空格之后转发任何内容。
编码
$Artikel = $smarty->get_template_vars('Artikel');
$keyword = $Artikel->cArtNr;
$title = $Artikel->cName;
$short = file_get_contents(''.$siteurl.'/yourls-api.php?signature='.$signature.'&action=shorturl&url='.$shorturl.'&format='.$format.'&keyword='.$keyword.'&title='.$title.'');
如果标题是“我的第一台计算机” ,则只有“我的”被设置为标题。是因为我的代码还是你的?