Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 04-12-2005, 08:26 AM flash with php
Novice Talker

Posts: 7
Trades: 0
Hi, iv got this form in flash that once the user has filled in, simply clicks and sends it to my email account.

I would also like to add two more topics, "phone" and "address"

I belive the scripting in flash is correct, but hey things happen.

so I would like to add those two in my php file, so i can get there contact number and address aswell as their message, etc, etc

heres the code for u guys---------------------
PHP Code:
/

$sendTo "dazzclub@yahoo.co.uk";
$subject "B&H Thermochromic Inks";


$headers "From: " $_POST["firstName"] ." "$_POST["lastname"] ." <" $_POST["email"] .">\r\n";

// 
$headers .= "Reply-To: " $_POST["email"] . "\r\n";
$headers .= "Return-path: " $_POST["email"];

// now we can add the content of the message to a body variable
$message $_POST["message"];


// // in the mail function call which will send you an email
mail($sendTo$subject$message$headers$body ); 

so where could "phone" and "address" go?

cheers
dazzclub is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-12-2005, 08:37 AM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Tack them onto the message:

PHP Code:
$message $_POST['message'] . "\n\nContact details:\nPhone: ".$POST['phone']."\nAddress: ".$_POST['address']; 
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Old 04-12-2005, 08:54 AM cheers, you little gem!
Novice Talker

Posts: 7
Trades: 0
hi, worked a treat cheers for that

i hold up a drink in your name.
dazzclub is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to flash with php
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.59209 seconds with 12 queries