Archive for June, 2009
My First PHP Script (Kinda)
Saturday, June 20th, 2009
Last summer I set a goal for myself to learn PHP. That didn’t come around at all though. But, this summer is different! I just completed a simple little PHP script and it’s only the second day of summer! I didn’t really do all the work myself either, so it’s not really truly “my” script. I just brought together little code snippets that I found and just kept changing variables until things worked out
The goal of the script was to make a simple way to send emails to a certain address in order to check if they were working. Before, I would always log into another email account and then send an email to the address that I’m checking to see if it’s working. Or I would just ask a friend to send an email to it. The first option just takes forever and the second one usually never works out because the friend I ask is a bum. That’s where the script comes along! You put in your email address you’re looking to check and the form submits that value to a PHP variable in a sendmail function.
Posted in PHP | 1 Comment »