Quote:
FutureSpy wrote:
Let me try to explain better. For some reason, the line with "hometext" is causing a blank page. But if I comment it out, then it works fine again. Is it really important?
domifaraさん、ご返答ありがとうございます。
もっと詳しく説明してみます。原因は分からないんですが、「hometext」があるこの一行目で真っ白なページが出ているんです。でも、コメントすると、正常に動作します。本当に必要なんですか?
please
もう一度
you look sooce of before my pots.
//HACK for each lang $description 125 byte strings hack by domifara 2005/4/18
//$article = $article->hometext();
if (function_exists('easiestml') && isset($easiestml_lang)) {
$article = easiestml($article);
}
$article = preg_replace("/\[.*?\]/","",$article);//strip tags by Yuji
$article = xoops_substr($article, 0 ,124+4);
it's wrong ..point
$article = $article->hometext();
you d'ont recive $article.
$article is class object?. ??not class
これは、何のソースですか?
backend.phpではないと思う。
to
//HACK for each lang $description 125 byte strings hack by domifara 2005/4/18
$description = $story->hometext();
if (function_exists('easiestml') && isset($easiestml_lang)) {
$description = easiestml($description);
}
$description = xoops_substr($description , 0 ,125) ;
and
for diaplay output
'description' => xoops_utf8_encode(htmlspecialchars($description, ENT_QUOTES))
my memo site