Naa ko gihimo nga website forum, unsaon nako pagprotect ani from spam bots?
Naa ko gihimo nga website forum, unsaon nako pagprotect ani from spam bots?
puede ka mo gamit ani..free ra...
reCAPTCHA: Stop Spam, Read Books
Last edited by woodpusher; 09-03-2013 at 08:45 AM.
ok pud ang hidden forms kay ang Captcha nga katong free nga sa Google maglisod ang uban usahay ug decipher...o makahimo ka anang hidden forms...tun-an lang nimo...mao man siguro ng hidden captcha...
Invisible captcha to prevent form spam | Blog | nGen Works
Last edited by woodpusher; 09-03-2013 at 09:11 AM.
ayay, tangason diay kaayo ni from here. Study2x pag my time..
securing a forum is a time consuming work.. i have client before that wanted her forum to be secured but no captcha... medyo complicated ang modfication nako atleast it worked well... except lang anang mga human spammer... coz even istorya is not safe from it... i suggest use commercial version if possible like vbulletin.... i have bad experienced on phpBB, proboards and SMF... even wordpress forum... it sucks
maopod ni akong dakung problima sakung mybb forum boss,,grabi nga spam..gikapoy kug pang block..
boss what kind of spam? sa Imo register Page??
if register ni boss try ni peru need nimo maau ka sa PHP para dili ka mag error
Ang sa imong function if unsa imo ge gamit if mssql mas auelse
die('<font color="red">Hoy Dili pwede balik2x ug Spam!</font><br /><br />');
if(empty($captcha)) {
echo "Wala nimo na Butangan ang Captcha!";
exit();
}elseif($_POST['captcha'] != $_POST['captcha_check']) {
echo "Ang imo ge butang nga Captcha dili sakto.";
exit();
} else {
kini function ni para sa imong formif(isset($_POST['submit'])) {
$captcha = cleanFormData($_POST['captcha']); // Password non-encrypted
para sa imong form need ni nimo eh butang.. mao ni ang form need nimo eh butang ang function sa taas aniecho "Salamat sa pag rehistro sa akong website!<br>.";
}
} else {
$zahl1 = rand(20,50); //First Number 20-50
$zahl2 = rand(10,30); //Second number 1-10
$operator = rand(1,2); // + Or --
if($operator == "1"){
$operatorzeichen = " + ";
$ergebnis = $zahl1 + $zahl2;
}else{
$operatorzeichen = " - ";
$ergebnis = $zahl1 - $zahl2;
}
$rechnung = $zahl1.$operatorzeichen.$zahl2." = ?";
echo'
hahaha try lang if kaya..<form method="post">
<table border="0" >
<tr><td>'.$rechnung.'</td><td><input type="text" name="captcha" size="15" class="Login"/></td></tr>
<tr>
<td colspan="2" align="center"><input type="hidden" name="captcha_check" value="'.$ergebnis.'"><input type="submit" name="submit" value="Register" class="Login"/></td>
</tr>
//// eh closing sa form
</table>
<br>
<tr><td></td><td align="center"></td></tr>
</form>';
Similar Threads |
|