Location: PHPKode > scripts > ASCII CAPTCHA > ascii-captcha/example.html
<code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php
<br />
<br />$captcha&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">ASCII_Captcha</span><span style="color: #007700">();
<br /></span><span style="color: #0000BB">$data&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$captcha</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$text</span><span style="color: #007700">);
<br />
<br />
echo&nbsp;</span><span style="color: #DD0000">"&lt;b&gt;$text&lt;/b&gt;&nbsp;:&lt;br&gt;&lt;pre&nbsp;style='font-size:8px;'&gt;$data&lt;/pre&gt;"
<br />
<br /></span><span style="color: #0000BB">?&gt;</span></span></code>
<hr>
<b>343H3A</b> :<br><pre style='color: #000; font-size:8px;'>.~~..~*...!.....!.*...~....~.*...~.!*!....*..*.~.!...*.....~....~~.~!~...~*....~..~~*.~..*....!.*..!.*!.
....#######..~.!....##..*.~!~~.~*.....#######....!....##.....##..!**.....#######.~**~....~..###~!..~....
...##.....##.!...!..##....##...!.....##.....##.!...*..##.....##...*.*...##.....##!..~~.....##.##..*.....
*....*....##...!....##....##*....~.*.!!.....##....*...##.....##.~...~*.~..~....##*~..~....##...##...!...
....#######.!~~.....##....##....~.....#######....!.....#########..**...~.#######..!*.....##.....##..~...
.*..*.....##....*...#########~...~*..~~.*..!##!..*....##.....##..!!.*.*.~....~.##!..!.....#########.....
...##.....##..!..~.!*.....##*..~.....##.....##~~.....~##.....##..~.*!...##.....##.....!..##.....##~!....
....#######.....!*..*.....##....*.....#######!~...!...##.....##....*.....#######.~..!~.!.##.....##...!.*
.!~!**...!~...*~.!~...~!.~~~*.**!.....*.~..*.!*!.*....!~..*..!..~.*.*.~.....*..!!...!.~...*.~~.....*....</pre>
Return current item: ASCII CAPTCHA