このコードを html ファイルに統合すると、何も表示されませんが、他の html コードと分離すると機能します。
それで、それをhtmlコードに追加してフォーム入力を比較する方法を親切に教えてもらえます$chars
か?
require_once "/jpgraph/jpgraph_antispam.php";//the location is correct!!
$spam = new AntiSpam();
// saved to $chars for later verification of correct entry
$chars = $spam->Rand(8);
$spam->Stroke() ;