Plugin Update – MQ ReLinks 1.2
MQ ReLinks is a wordpress plugin which allows you to easy make all external links in posts, comments and author links non external, by using a redirect. In stead of a direct link to another site, the plugin will create a link to a out.php file that will redirect to the requested URL. They can be opened in a new window or in the same one. You can configure the post, comment and author link options
Read MoreLeave a CommentValidating emails with php
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 if invalid (filter_var($field,
Read MoreLeave a CommentSending 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 Sending the email: mail($to, $subject, $message, $header); //send the email Sending the email and
Read MoreLeave a CommentTernary 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 see here is a simpler way to write not so complex if statements. Traditional way: if (condition) { echo "true"; } else { echo "false"; } The shorter way: echo
Read MoreView Comments (1)Gadgets Advisor Technology News
Here`s a site I found called Gadget Advisor which contains technology news and reviews of the coolest gadgets and computer software out there. The best thing about this site is that they hand pick only the best and coolest of them all, so all you have to do is pick the right one for you. A few of the things that got my eye are a list of the best Firefox extensions and I must say they
Read MoreLeave a Comment




