Sanitizing and validating email syntax $email = $_POST[’email’]; //getting the posted email //sanitizing the email using FILTER_SANITIZE_EMAIL //removes all illegal e-mail characters from a string $email=filter_var($email, FILTER_SANITIZE_EMAIL); //validating the email using FILTER_VALIDATE_EMAIL //validates e-mail returning true if valid and false
Sending emails with php
Set up the variables: $to = “email@address.com”; //where the email will go $subject = “Our Subject”; //the subject $message = “The message to send”; //the message $from = “you@email.com”; //from email $header = “From: $from”; //header including the from email
Ternary Conditionals
I know most of you allready use them, but there are still people that don`t know about them, so to make the following tutorials easyer, I`ll do a small example. First of all you must know that all you will
Google Page Rank update protest
It seems Goole started the Page Rank update again after just two months. This time I got kicked again to pr 0. It seems weird since one of my sites that has very little traffic and backlinks went from 0
Backlink PageRank Checker
BPC is another one of my latest scripts. I made it using php. It checks the PageRank of your backlinks. It can check 100, 200, 500 or 1000 links. It can also check the PageRank and Alexa of the domains