Jump to content



Latest News: (loading..)

Need code to send email like Contact_Me page


  • Please log in to reply
1 reply to this topic

#1   MerriDennis

MerriDennis
  • Members
  • 3 posts
  • Real Name:Merri Dennis

Posted 06 June 2012 - 08:10 PM

The developer created a custom form for me, but did not complete the code.  I need the form to send an email upon completion.

You can see the form here - http://www.mastersundaybulletins.com/classic_subscription.php

I receive a couple of errors when I try to submit the form -
1) cannot locate URL/Filename_Classic_Subscription.php
2) and one related to an error code

I thought I might be able to use the same code from the contact_us.php file, but I'm not sure which code to change.

Thanks for any insight.

Merri

#2   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 06 June 2012 - 09:28 PM

Add the following define to /includes/filenames.php

  define('FILENAME_Classic_Subscription', 'classic_subscription.php');
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >