Código PHP:
<?
$dlln = $_REQUEST["dllname"];
$cn = $_REQUEST["cname"];
$fl = $_REQUEST["flink"];
$dscr = $_REQUEST["description"];
mail('[email protected]', '$dlln by $cn', 'Link : $fl Description : $dscr')or die ("An error ocurred while sending the DLL!");
echo "<p>DLL Sended Correcly<p>";
?>
PD: El codigo del form es este (HTML):
Código HTML:
<form name="form1" method = "post" action = "sendmail.php"> <p align="center"><span style="font-size:10pt;"><font face="Tahoma">All fields required:<br> DLL Name:<br> <input type="text" name="dllname" style="border-width:1; border-color:black; border-style:solid;"><br> Creator's name:<br> <input type="text" name="cname" style="border-width:1; border-color:black; border-style:solid;"><br> File Link (gm6 + dll):<br> <input type="text" name="flink" style="border-width:1; border-color:black; border-style:solid;"><br> Description:<br> <textarea name="description" rows="11" cols="53" style="border-width:1; border-color:black; border-style:solid;"></textarea><br> <input type="submit" name="send" value="Send" style="border-width:1; border-color:black; border-style:solid;"> </font></span></p> </form>
Gracias por adelantado ;)