Test with fun how much you know about Art4.01 / 5.00 12,119 Views
Challenge hordes of ninjas in this epic action adventure game.4.14 / 5.00 43,842 Views
Help strange creatures to bring the eye to a mysterious customer.3.73 / 5.00 14,876 Views
This is a Tutorial about making a Contact Page on your site using PHP
Ok so you hate spambots? So do I ! Making a contact page that doesent show your Email is a perfect solution!
- PHP 4.XX.XX
- Basic knowledge of HTML and PHP
So lets start. First if we dont have MySQL We make a file that will have our email!
$email = "[email protected]";
Now we have our email written in a file.. So lets make the contact PHP page!
We will name it contact.php < duhh...
//We include include_email_info.php so that we may acceas the email!
// We check if variables are set!
// If they are set. Set the text and filter the input thus send the email! If not, show the page...
$meassege = strip_tags($_POST['meassege']."\n\n".$_POS
echo "Email Sent!";
// So this is the boring part.. So im not going to write it.. Just echo your html code:
dont forget to name the <textarea type='text' name='meassege'> the inputs like the variables...
Well hope it helped anyone!
Hmm, i am just testing it out now, so ill post back if it works, but seems a good tutorial anyway, welldone. +10 cool points for you. Submit it to php:main if it hasn't been done before.
I am not saying it is bad!!