RON_ron
-
Posts
370 -
Joined
-
Last visited
Posts posted by RON_ron
-
-
Isn't that possible?
-
I've got a sumbit form in flash. If I send few images to the PHP server side script how can I receive them in my mail as an attachment? I'm NOT GOOD at PHP so I need help in the PHP script?
-
First thanks for the reply! Secondly Sorry for the confusion. I'll explain it once again.
*. abc@mail.com = my email.
*. There are 5 images in my website where the customer could select all or any of those to be imprinted on the product we sell.
When the customer selects any of the 5 images in my the website I need those selected image / images to be sent to the PHP server script and from there back to my email (abc@mail.com).
Ps. The reson why I need the selected images back to my mail is the customer too will receive a Cc. It's nice to send the customer an image of the finish product!!
-
Am I asking a tough question?
-
It's a SUBMIT form - There are 5 checkboxes which are used to select 5 types of images. How to write my PHP code to send the selected images to the PHP and then back to abc@mail.com ?
my current PHP script
<?PHP $to = "abc@mail.com"; $subject = "subj.sbuj"; $headers = "From:" .$email."\r\n"; $headers .= "Bcc: $email\r\n"; $message = "Name: " . $thename; $message .= "\n\nCompany or Club Name: " . $thecompany; $message .= "\n\nAddress: " . $theaddress; $sentOk = mail("$to",$subject,$message,$headers); echo "sentOk=" . $sentOk;
-
Perfect!! Thanks Matt.
-
OMG.... as you said both scripts were correct and I just realized my text box was in another layer!!!!!
PROBLEM SOLVED!! Thanks and extreamly sorry for been babish with a dumb queston . My eyes simply could not catch the error and I was very much worried!!
Just one more simple thing,
The seperations isn't correct
$message .= "\nText Positionings: " . $MDT1, $MDT2, $MDT3;
How to write the PHP code so the mail I receive looks something like this.
Text Positionings: ABC, XZY, LMO
-
No I haven't. I'm not a PHP guy. But I need to know why isn't my dynamic text box data is NOT transfering to my mail.
is my PHP script correct? if so I'd atleast know that the fault is in the AS.
Thanks thorpe!
-
I don't know whether my queston is not very clear. Here I go again.
I've done a website ibn FLASH. page 1 is to fll in a section of data (text) and on page 2 is the submit form.
On page 1 I've got a INPUT textbox (my_Input_Txt)
On page 2 I've got a DYNAMIC textbox (my_dyn1)
my_dyn1 receives the data (text) from
my_Input_Txt.onChanged = function() { _root.my_dyn1.text = my_Input_Txt.text;
MY QUESTON IS - How do I write the PHP server script to get the text which is in a Dynamic Textbox (my_dyn1)?
My php server side script works fine with all the INPUT text fields i've got in my submit form. But how do I get the text in my_dyn1 to my mail?
My PHP Code:
<?PHP$to = "mail@.com";
$subject = "subj";
$headers = "From:" .$email."\r\n";
$headers .= "Bcc: $email\r\n";
$message = "Name: " . $thename;
$message .= "\n\nMY TEXT: " . $dyn_text1;
$sentOk = mail("$to",$subject,$message,$headers);
echo "sentOk=" . $sentOk;
>?
AS
var senderLoad:LoadVars = new LoadVars();var receiveLoad:LoadVars = new LoadVars();
sender.thename= thename.text;
senderLoad.dyn_text1 = dyn_text1.text;
senderLoad.sendAndLoad("wwws/send.php",receiveLoad);
}
receiveLoad.onLoad = function () {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
I'm not receiving the dyn_text1 data!!!
-
This is a from done in flash. yep I use the PHP code shown to get data to my mail. All the text boxes in my submit form are INPUT TEXTBOXES and the above code works perfectly!! But here I've got a DYNAMIC TEXTBOX which loades the data from an EXTERNAL INPUT TEXTBOX. Therefore I'm unable to use the coding (shown below).
$message = "LANGAUGE: " . $thelang;
I'm seeking advice on how to get the script written so the data in the DYNAMIC TEXTBOX could be sent to the server side PHP and back to my mail.
-
var senderLoad:LoadVars = new LoadVars(); var receiveLoad:LoadVars = new LoadVars(); sender.onRelease = function () { senderLoad.thename = thename.text; senderLoad.thecompany = thecompany.text; senderLoad.themessage = themessage.text; senderLoad.sendAndLoad("http://web.com/send.php",receiveLoad); } receiveLoad.onLoad = function () { if(this.sentOk) { _root.gotoAndStop("success"); } else { _root.gotoAndStop("failed"); } }
This s my Flash code.
-
I've done my SUBMIT FORM using Flash. My question is How do I write the PHP server script to get the text which is in a Dynamic Textbox?
[code]<?PHP $to = mail@mail.net; $subject = "SUBJECT SUBJECT"; $headers = "From:" .$email."\r\n"; $headers .= "Bcc: $email\r\n"; $message = "Name: " . $thename; $message .= "\n\nAddress: " . $theaddress; $sentOk = mail("$to",$subject,$message,$headers); echo "sentOk=" . $sentOk;
This is a part of my current script. I get all the INPUT TEXTBOX data but I need to receive the text which is in few dynamic textboxes as wel. How should I code it?
Script to receive images as attachments
in PHP Coding Help
Posted
I guees you've answered my question.
BRILLIENT!!! Thanks a million!