Jump to content
Facebook Twitter Youtube

Search the Community

Showing results for tags 'HTML'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Hosting & Development
    • [CSBD] Discord
    • Rules, Feedback & Suggestions
    • Community development
    • Frequently Asked Questions
    • Staff & Projects Apply
    • Report center
  • Public Servers
    • Counter-Strike 1.6
  • Projects & Competitions
    • Devil Harmony
    • Social Musician
    • Music
    • Media
  • Devil's Club
    • Journalist
    • Social
    • Special days
    • Free time
  • Design
    • GFX Designers
    • Assistance
    • Galleries & Gifts
    • Competitions
  • World of Games
    • VGame Reviewers
    • Game Platform
    • Technology Era
    • Social Media
    • Offers, recommendations & giveaways

Product Groups

  • CSBD PREMIUM
  • CSBD HEAVENLY
  • CSBD STAFF RANK

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Yahoo


Skype


Website URL


Twiter


Instagram


YouTube


Steam


Interests


City


Member Title

Found 1 result

  1. In acest tutorial este prezentat modul prin care putem adauga unui formular un cod de securitate, al carui scop este oprirea trimiterii mesajelor spam. In principiu, formularul contine un camp in care este introdus un anumit cod. Acel cod trebuie comparat cu un altul iar in cazul in care sunt identice sa trimita datele prin formular. Acest mod consta in adaugarea unei casute ascunse de tip text a carei valoare este rezultatul corect al operatiei matematice sau intrebarii sau ce doriti voi sa apara la codul de securitate. <form action="pagina.php" method="post" onsubmit="return validare()" name="formular" >Nume:<input type="text" size="25" name="nume" maxlength="35" />Mesaj:<textarea name="mesaj"></textarea><?php $aleatoriu1 = rand(0,10); $aleatoriu2 = rand(0,10); $rezultat = $aleatoriu1 + $aleatoriu2;echo '<input type="text" size="5" value="'.$rezultat.'" name="cod1" style="display:none;" />'.$aleatoriu1.'+'.$aleatoriu2.' =<input type="text" size="5" name="cod2" />';?><input type="submit" value="Trimite" /></form> *Iar codul javascript care verfica daca valoarea celor doua casute este aceeasi function validare() { if (document.forms.formular.cod1.value != document.forms.formular.cod2.value) {alert('Introduceti codul de verificare!');return false; } return true;}

WHO WE ARE?

CsBlackDevil Community [www.csblackdevil.com], a virtual world from May 1, 2012, which continues to grow in the gaming world. CSBD has over 70k members in continuous expansion, coming from different parts of the world.

 

 

Important Links