Shaare your links…
408 links
Liens · Devenet Home Login RSS feed Tags cloud
  • Gestion de formulaires en php → http://www.kommunauty.fr/article-653-gestion-de-formulaires-en-php
    <?php
    if($_SERVER["HTTP_REFERER"] !== 'http://www.site.com/index.php";) {
       echo "Le formulaire est soumis depuis une source externe !";
    }
    ?>

    <?php
    if(!filter_var($_POST["courriel"], FILTER_VALIDATE_EMAIL)) {
       echo "Votre adresse de courriel est incorrecte !";
    }
    ?>
    Thu Aug 7 14:16:08 2014 – #permalink
    mémo php web
Shaarli by sebsauvage
Shaarli-Theme by Nicolas based on idleman theme