SunQuest
           Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old July 18th, 2003, 12:00 AM
chad_mexico chad_mexico is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Queretaro, Qro., Mexico
Posts: 1 chad_mexico User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to chad_mexico
Mail Form with PHP and Flash

Hi:

I need help please, I've followed step by step the Creating a Mail Form with PHP and Flash Tutorial. But Im having problems when I try it on my server (It does support PHP).

When I click on the "Send" button, I receive the email this form:

From: Servidorlatino.com@servidorlatino.com
Message: NOTHING!!!

I put the code just as the tutorial is told to.

Here it is how I put it:

The PHP file:
<?

$to = "chad_personall@yahoo.com";
$msg = "$namenn";
$msg .= "$messagenn";

mail($to, $subject, $msg, "From: Servidorlatino.comnReply-To: $emailn");

?>

And on Flash "Send button":
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop();
} else {
loadVariablesNum("form.php", 0, "POST");
gotoAndStop(2);
}
}

I hope you can help me, I dont know if the version of my Flash (MX) its causing the problem, or maybe my PHP version on my server.

Please help me!!!

Thanks


Reply With Quote
  #2  
Old July 18th, 2003, 01:26 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: Mail Form with PHP and Flash

Sounds like register_globals might be turned off on your server. Try this:

php Code:
Original - php Code
  1. <?
  2.  
  3. $to = "chad_personall@yahoo.com";
  4. $msg = "$_POST[name]nn";
  5. $msg .= "$_POST[message]nn";
  6.  
  7. mail($to, $_POST['subject'], $msg, "From: Servidorlatino.comnReply-To: $emailn");
  8.  
  9. ?>


Reply With Quote
  #3  
Old March 29th, 2004, 04:56 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Mail Form with PHP and Flash

hey i am tried to to create own flash mail too, but seem to flash mx didn't like ya scritps. i did copy everything as it says but when i click send with emtyp details i got redirect to the frame 2 (thank you frame ),..... how is that posssible?

Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > Mail Form with PHP and Flash


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway