Jump to content

Flash Template Contact Us Page


game4uin99

Recommended Posts

So, I totally have no clue what I am doing!  Here's what is in the file. I would like to of course make it work as well as have a message stating the form contact has been sent.  (webpage: www.slanginrocks.com) Any help would be greatly appreciated.

 

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title></title>

</head>

<body onload="document.form.submit();">

<?php

$com=$_POST['c'];

$fname=$_POST['firstName'];

$lname=$_POST['lastname'];

$email=$_POST['email'];

$messa=$_POST['message'];

$msg='First name: '.$fname."\n".'Last name: '.$lname."\n".'message: '.$com;

mail('[email protected]','Contact Us Form',$message,$email);

?>

<form name="form" action="http://slanginrocks.com" method="get">

</form>

</body>

</html>

Link to comment
https://forums.phpfreaks.com/topic/50302-flash-template-contact-us-page/
Share on other sites

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>
<body onload="document.form.submit();">
<?php
$com=$_POST['c'];
$fname=$_POST['firstName'];
$lname=$_POST['lastname'];
$email=$_POST['email'];
$message=$_POST['message'];
$msg='First name: '.$fname."\n".'Last name: '.$lname."\n".'message: '.$com;
mail('[email protected]','Contact Us Form',$message,$email);
?>
<form name="form" action="http://slanginrocks.com" method="get">
</form>
</body>
</html>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.