Author Topic: Learning PHP  (Read 2168 times)

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Learning PHP
« on: 2009-03-27, 08:51:28 PM »
I started learning PHP last night.

Last night I made a few scripts, all very simple, such as a script that counts the amount of words you type into a textbox, and a script that gives responses to radio button choices.

This morning I made a pretty decent script I am pretty proud of.
Jam0864's Email Sending Script
You specify an email address to send to, an email address to send from, a subject and the body of the email, and it will send it for you.
The beauty of this is you can send emails from whatever email address you want. (scams-R-us)

The mail function isn't all that complicated, most of the work went into the error handling when people didn't specify a value for a text area. (Try putting no @ symbol in the "Send To:" field...)

:D?

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: Learning PHP
« Reply #1 on: 2009-03-27, 11:48:05 PM »
That's all well and good, but I would not suggest leaving that up for long or somebody will find it, and they will start sending out spam using it, and then it will be taken down for you.
Edward Dassmesser

tprime

  • Fanatic
  • ***
  • Posts: 395
    • View Profile
    • Email
Re: Learning PHP
« Reply #2 on: 2009-03-28, 12:54:28 AM »
Wow, that impressive!  ;)