fwd4.com Am I the only one who enjoys this stuff?
stacks_image_120E9A2E-147D-45E1-9FDE-CA8D45ACE3B8
iPush Me A Message
One evening I decided I wanted to add a form on to this site which would allow people to send messages directly to my iPhone. I already use Prowl to send Push messages to myself for various tasks such as monitoring websites and RSS feeds, along with the odd quote-of-the-day for good measure so it seemed the next logical step.

So with most of the foundations already in place on my server I’ve put together this simple page. I honestly can’t take all the credit because behind the scenes I’ve used ProwlPHP by Fenric over on github. If you fancy doing similar I strongly recommend you to check out the Prowl app in iTunes.
The Form
This is the simple HTML form which I threw together rather quickly, I hope you can forgive me for its simplicity. Its been a long time since I’ve delved into HTML so I had to look up one or two tags (just for reference of course!) but all being well it does the job. Behind the scenes does a POST of the form contents to a PHP script which it turn makes a cURL request to the Prowl API.

Fill your boots
Your name:

Your brief message:

Click the Submit button and your message will be sent.
stacks_image_9C9DAF7F-56BC-4328-B6F3-C5D3BB749DA7
A Small Note
stacks_image_3974224A-8CF5-47A3-BE91-7ED0C1F4D823
If all goes well then the message you type in should be sent to my iPhone almost immediately although it can sometimes take a minute or two to filter through to myself. I’d rather you didn’t spam me hundreds of messages all through the night so I’ve put some ‘checks’ in place to prevent abusive behavior. Other than that enjoy.