Newbie - Flash & PHP mail scripts not working

  • here2learn
  • Born
  • Born
  • here2learn
  • Posts: 2

Post 3+ Months Ago

Hello to you the experts out there ...

I have taken over the company's web content manager position. I have 2 forms that don't funtion and my knowledge of Flash is non existant and PHP I'm just not getting my head around. Thus I'd be very greatful if someone here could help me out & get these forms to work. (The Website was handed to me to manage as is)

http://www.fxit.de
->Productions -> Showreel 2007 -> Order Showreel
No mails are sent to post@fxfactory.de

->Contact -> link Post
No mails get through to us via this form niether

How do I correct this as it is Important that we get these requests and and send replies and showreel copies. You help will be much appreciated.

Many Thanks
Barbara

1)
Code: [ Select ]
<?php
###############################################################################
#
# E-mail Formular + Autoresponder by monocrom
# Copyright 2001
#
###############################################################################
#
#
# Mail an Webmaster ##########################################################
#
# Add your E-mail right here
#
$MailTo="post@fxfactory.de";
#
# Formating Date ############################################################
#
$nowDay=date("m.d.Y");
$nowClock=date("H:i:s");
#
# Formating Body content ######################################################
#
$FormContent="
The following details has been recieved on $nowDay at $nowClock:\n\n
----------------------------------------------------------------------------\n
Firstname: $firstname\n
Lastname: $lastname\n
E-mail: $MailFrom\n
----------------------------------------------------------------------------\n
Gender: $gender\n
----------------------------------------------------------------------------\n
Subject: $Subject\n
----------------------------------------------------------------------------\n
Comment: $Body\n
----------------------------------------------------------------------------\n
";
#
#
mail($MailTo, "$Subject (von $firstname $lastname)", $FormContent, "From: $MailFrom");
#
#
# Autoresponder #############################################################
#
#
     $filename = "answer_mail_post.txt";
     $fd = fopen( $filename, "r" );
     $contents = fread( $fd, filesize( $filename ) );
     fclose( $fd );
     mail( "$MailFrom", "thank you - FXFactory Berlin", "$contents\n\n",
            "From:post@fxfactory.de\n" );
#
#
# Flashsignal Variable ######################################################
#
#
$signal=1;
echo "signal=$signal";
#
#
###############################################################################
?>

2.<?php
###############################################################################
#
# E-mail Formular + Autoresponder by monocrom
# Copyright 2001
#
###############################################################################
#
#
# Mail an Webmaster ##########################################################
#
# Add your E-mail right here
#
$MailTo="constanze@fxfactory.de";
#
# Formating Date ############################################################
#
$nowDay=date("m.d.Y");
$nowClock=date("H:i:s");
#
# Formating Body content ######################################################
#
$FormContent="
The following details has been recieved on $nowDay at $nowClock:\n\n
----------------------------------------------------------------------------\n
Name: $name\n
Position: $position\n
Company: $company\n
Country: $country\n
City: $city\n
Street: $street\n
Zipcode: $zipcode\n
Phone: $phone\n
E-mail: $MailFrom\n
----------------------------------------------------------------------------\n
Gender: $gender\n
----------------------------------------------------------------------------\n
Format: $format\n
----------------------------------------------------------------------------\n
";
#
#
mail($MailTo, "$Subject (Showreel Order FX Showreel)", $FormContent, "From: $MailFrom");
#
# Autoresponder #############################################################
#
#
     $filename = "order.txt";
     $fd = fopen( $filename, "r" );
     $contents = fread( $fd, filesize( $filename ) );
     fclose( $fd );
     mail( "$MailFrom", "thank you - FXFACTORY Berlin", "$contents\n\n",
            "From:post@fxfactory.de\n" );
#
#
# Flashsignal Variable ######################################################
#
#
$signal=1;
echo "signal=$signal";
#
#
###############################################################################
?>
  1. <?php
  2. ###############################################################################
  3. #
  4. # E-mail Formular + Autoresponder by monocrom
  5. # Copyright 2001
  6. #
  7. ###############################################################################
  8. #
  9. #
  10. # Mail an Webmaster ##########################################################
  11. #
  12. # Add your E-mail right here
  13. #
  14. $MailTo="post@fxfactory.de";
  15. #
  16. # Formating Date ############################################################
  17. #
  18. $nowDay=date("m.d.Y");
  19. $nowClock=date("H:i:s");
  20. #
  21. # Formating Body content ######################################################
  22. #
  23. $FormContent="
  24. The following details has been recieved on $nowDay at $nowClock:\n\n
  25. ----------------------------------------------------------------------------\n
  26. Firstname: $firstname\n
  27. Lastname: $lastname\n
  28. E-mail: $MailFrom\n
  29. ----------------------------------------------------------------------------\n
  30. Gender: $gender\n
  31. ----------------------------------------------------------------------------\n
  32. Subject: $Subject\n
  33. ----------------------------------------------------------------------------\n
  34. Comment: $Body\n
  35. ----------------------------------------------------------------------------\n
  36. ";
  37. #
  38. #
  39. mail($MailTo, "$Subject (von $firstname $lastname)", $FormContent, "From: $MailFrom");
  40. #
  41. #
  42. # Autoresponder #############################################################
  43. #
  44. #
  45.      $filename = "answer_mail_post.txt";
  46.      $fd = fopen( $filename, "r" );
  47.      $contents = fread( $fd, filesize( $filename ) );
  48.      fclose( $fd );
  49.      mail( "$MailFrom", "thank you - FXFactory Berlin", "$contents\n\n",
  50.             "From:post@fxfactory.de\n" );
  51. #
  52. #
  53. # Flashsignal Variable ######################################################
  54. #
  55. #
  56. $signal=1;
  57. echo "signal=$signal";
  58. #
  59. #
  60. ###############################################################################
  61. ?>
  62. 2.<?php
  63. ###############################################################################
  64. #
  65. # E-mail Formular + Autoresponder by monocrom
  66. # Copyright 2001
  67. #
  68. ###############################################################################
  69. #
  70. #
  71. # Mail an Webmaster ##########################################################
  72. #
  73. # Add your E-mail right here
  74. #
  75. $MailTo="constanze@fxfactory.de";
  76. #
  77. # Formating Date ############################################################
  78. #
  79. $nowDay=date("m.d.Y");
  80. $nowClock=date("H:i:s");
  81. #
  82. # Formating Body content ######################################################
  83. #
  84. $FormContent="
  85. The following details has been recieved on $nowDay at $nowClock:\n\n
  86. ----------------------------------------------------------------------------\n
  87. Name: $name\n
  88. Position: $position\n
  89. Company: $company\n
  90. Country: $country\n
  91. City: $city\n
  92. Street: $street\n
  93. Zipcode: $zipcode\n
  94. Phone: $phone\n
  95. E-mail: $MailFrom\n
  96. ----------------------------------------------------------------------------\n
  97. Gender: $gender\n
  98. ----------------------------------------------------------------------------\n
  99. Format: $format\n
  100. ----------------------------------------------------------------------------\n
  101. ";
  102. #
  103. #
  104. mail($MailTo, "$Subject (Showreel Order FX Showreel)", $FormContent, "From: $MailFrom");
  105. #
  106. # Autoresponder #############################################################
  107. #
  108. #
  109.      $filename = "order.txt";
  110.      $fd = fopen( $filename, "r" );
  111.      $contents = fread( $fd, filesize( $filename ) );
  112.      fclose( $fd );
  113.      mail( "$MailFrom", "thank you - FXFACTORY Berlin", "$contents\n\n",
  114.             "From:post@fxfactory.de\n" );
  115. #
  116. #
  117. # Flashsignal Variable ######################################################
  118. #
  119. #
  120. $signal=1;
  121. echo "signal=$signal";
  122. #
  123. #
  124. ###############################################################################
  125. ?>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • wanna kill
  • Beginner
  • Beginner
  • User avatar
  • Posts: 36

Post 3+ Months Ago

i do't know PHP.
i think google can help you.

thanks
  • jalexduran1
  • Newbie
  • Newbie
  • jalexduran1
  • Posts: 12

Post 3+ Months Ago

Hi:

I like to help you..
If you going to work in HTML or Flash, you must have 2 files per application:

in HTML you need
1- html page
2 php form

in Flash you need
1- Flash swf form
2- php form

both forms in each case working togheter ( the html or swf is the for that you fill in, the php receive and process the data and send it to the destination plus and autoresponser to the writer to let the people the form was received and is going to take care etc...

let me know in my email and I will prepair 1 of both for you free of charge...

thanks

support@compumiami.net

Alex
  • here2learn
  • Born
  • Born
  • here2learn
  • Posts: 2

Post 3+ Months Ago

Hello all

@ Wanna Kill
believe it or not when I can't do something I google for a solution. I followed suggestions I updated the php script from php 4 to the php 5. I tried to set up the contact & order forms using just php and html but to no avail. Hence the request for help here.

@ jalexduran1
Alex I have sent you an email with the files attached. These are the ones that are currently on the online server. I really appreciate your help. Your a life saver. Thank you

Barbara

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.