How to make a contact form work

The configuring of your contact form is pretty easy. You should open your FLA file, then press CTRL+F and search for “@” symbol. It will find several (or one) locations where this symbol can be used. You should go to the one with rec=”ice@template-help.com”;
After that you will be automatically taken to this location and should see the contact form script:

rec=”ice@template-help.com”;
serv=”php”;
…..

You can easily put your e-mail address instead of the default one and your’re done! You can change your server option by specifying the “serv” variable. It can be set either for “php” or “asp”.

If you cannot find such script in your Flash Site template, please read the info below on how to enable a contact form.

First of all, please see the How to make a contact form work demo movie.

Then you should use the following php script, save it as contact.php:

<?php

$your_company = $_GET['company'];
$your_name = $_GET['your_name'];
$your_phone = $_GET['phone'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];

$headers .= ‘Content-type: text/html; charset=iso-8859-1′;

$content = “<html><head><title>Contact letter</title></head><body><br>”;
$content .= “Company: <b>” . $your_company . “</b><br>”;
$content .= “Name: <b>” . $your_name . “</b><br>”;
$content .= “Phone: <b>” . $your_phone . “</b><br>”;
$content .= “E-mail: <b>” . $your_email . “</b><br><hr><br>”;
$content .= $your_message;
$content .= “<br></body></html>”;

mail($recipient,$subject,$content,$headers);
?>
<html>
<body bgcolor=”#282E2C”>
<div align=”center” style=”margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold”>
Your message was sent. Thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>

Put your e-mail address as shown in the video tutorial and then save this file.
Place this contact.php file in the same folder where you have your SWF movie.
That’s it!

VN:F [1.9.6_1107]
Rating: 0 (from 0 votes)
This entry was posted in 3 Color template tutorials, Flash Animated Template Tutorials, Flash Animated Templates, Flash Intro Tutorials, Flash Site Template Tutorials, Full Site Template Tutorials, Website Templates, Working with Flash and tagged , . Bookmark the permalink.
 

  • Submit a ticket

    If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket


Track the comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree