newklearblog

Home of the mighty Benjamin “Adolphus Ricardo Jesus Quintin Calmelita Def” Alldridge

Mailfrom-0.8b

The Lowdown

So, this is really just a simple form mailer that I built for Kylie and not much else. It basically cleans any nasty stuff out of the code, and runs it through the mailer, and delivers it to the email address you specify. It also has the ability to set a cookie via checkbox on the form itself. Another function is a status report on the submission page, that tells whether the message was successful or not, and also delivers information if not all segments of the form are complete.

Getting It Running

  1. Grab yourself a copy of Mailfrom hot off my server
  2. Open the file called "mail.php" and edit the variables for $youremail and $yoururl (observing the single and double quote marks), then save.
  3. Insert the markup of "form.php" into any page you like, or style it as you please. Be mindful though, everything that is in the file needs to stay there otherwise functions of the script will no longer work.
  4. Test it; it should work as easily as that.

This script is free-for-all, so feel free to edit it and distribute it as you please. Just, if you edit it, gimme a little bit of credit and show me what you’ve done eh? All in the name of learning, baby. Oh, and don’t go making any cash off of my code.. that’d make me sad. I’m not Microsoft, y’know.

And that, my friends, is how you bake a cake.

Malarkey

There are 6 responses. Respond.

Trackback

fuelled by newklearsyndicate
Copyright © Benjamin Alldridge, 2008. Powered by Wordpress, and fuelled by newklearsyndicate. | top?