LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 03-30-2007, 10:03 PM
Ben-41 Ben-41 is offline
Registered User
 
Join Date: Oct 2006
Posts: 79
Rep Power: 7
Ben-41 is on a distinguished road
Contact form-PHP

Hi,


Having some issues receiving emails from the contact page on my website,here are some details,


php script...

PHP Code:


$your_company 
$_GET['COMPANY'];
$your_name $_GET['NAME'];
$your_phone $_GET['PHONE'];
$your_email $_GET['EMAIL'];
$your_message $_GET['MESSAGE'];

$recipient_email "design@custom-pixels.com";
       
$subject "from" $your_email;
$headers "From: " $your_name "<" $your_email ">\n";
$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 .= "EMAIL: <b>" $your_email "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";

mail($recipient_email,$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 sentThank You.
             </
div>
       </
body>
</
html>
<
script>resizeTo(300300)</script> 







Flash input boxes variable names,

NAME
EMAIL
MESSAGE





flash 'send' button script




on(rollOver) {
this.gotoAndPlay("s1");
}


on(rollOut, releaseOutside) {
this.gotoAndPlay("s2");
}

on (release) {

}

on (release) {
_parent.getURL("http://www.hire-ground.co.uk/Contact.php","_blank","GET");
_parent.NAME="NAME:";
_parent.COMMENTS="MESSAGE:";
_parent.EMAIL="EMAIL:";
}

Last edited by Ben-41 : 03-30-2007 at 10:06 PM
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Contact Form and PHP fizmo Flash 8 0 08-06-2009 09:20 AM
flash cs3 ; contact form ; php ; to newbie babbato Flash CS3 / Flash 9 1 08-15-2007 07:52 AM
ASP PHP Advanced EMail Form PLEASE HELP! Jeremy78 Actionscript 2.0 9 02-03-2007 12:18 PM
New to Flash - Contact Form & php Help needed NYZX90 Newbies 1 10-31-2006 09:11 AM
Flash MX & PHP contact form (Multi-Language) evanmarko Flash MX 5 04-11-2003 11:33 AM




All times are GMT. The time now is 04:49 AM.