Help with a .php file?

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

Guest
I'm using a program that will SMS/mail me results with the help of a .php code. But I have no clue what to input into the code, and where to do so:

<?php
$address = $_GET['to'];
$message = $_GET['m'];
mail( "$address", "", "$message");
echo 'Sent the email';
?>

Anybody help me decipher this?
 
If it's a formmail script you're after I'd reccomend going to tectite.com and downloading theirs. People who've worked on these things for ages will have covered every security angle!
Added to that PHP can be very confusing if you're not knowing where you're going wrong.
 
Back
Top