One of the important features I would like to implement on RunPee.com is to let a user schedule an email reminder so that they can be prompted to come back to the site and update it. For instance after they see a movie they might want to be prompted to come back to RunPee and vote on a peeTime that they used, or something like that.
First off I have to figure out how to send and email through PHP via Flex. Turned out to be surprisingly simple. My only problem was that I copied some of the PHP code from a tutorial and then wrote part of it myself. The end result was that I called a variable $header in one place and $headers in another. PHP was nice enough to fail silently so that it took a bunch of digging before I noticed the problem.
I posted the code for doing this over at polyGeek.com.
Join the PERA (Personal Entertainment Research Assistant) waitlist.
The World's Most Indispensable Movie App
The RunPee app tells you the best times to
run & pee during a movie
so you don't miss the best scenes.
Download the RunPee app.
100% free (donation supported)
Beyond that I needed to figure out how to run a PHP script on a timer so that I could check the database to see if there were any emails to send out. Again, this turned out to be very simple. In the Cpanel there’s a service called Cron jobs – read a tutorial on it here. That does exactly what I need.
Now I just need to write the SQL and create the UI for entering a reminder. This is one of the few big ticket items left on my 2Do list for RunPee. The other is deepLinking. Which would have been easier to do had I built it in from the beginning but no matter. I’ll tackle that tomorrow.
What people are saying
about the RunPee app.
Best app ever!
RunPee is the only app we use before movies and afterward. not only does RunPee tell you when it’s a good time to leave the theater, kids these days ask if there’s anything during/after the credits, and RunPee lets parents know when there might be some thing that a kid might miss!
RunPee has tidbits, ratings, leave the theater times, and lengths. This is THE VITAL APP for watching any movie!
We used it when my wife was pregnant, and we have recommended it to every pregnant gal we know! How else can you enjoy a movie when you have to go out so often?!
View all reviews
Apple App Store | Google Play Store
Download RunPee app
Creator and developer of the RunPee app. When something doesn’t work right in the app it’s pretty much his fault. 🙂
Aspiring author. Would like to finish his “Zombie Revelations” trilogy if he could break away for working on RunPee and the cottage he’s building for RunPee Mom.


