The app that tells you the best time to run and pee during a movie without missing the best scenes.

100% free (donation supported) iPhone | Android

Skip to content

Learning lots of new things with PHP

Please help promote the RunPee app by sharing our content.

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.

------Content continues below------

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.


As seen on

Download the RunPee app.
100% free (donation supported)

Get the RunPee app at the Google Play Store.       Get the RunPee app at iOS App Store.

Read more about the RunPee app.



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.

star star star star star

LBeeCat, 05/27/2022

Movie Watching Must Have!!

I go feral for this app. I love it so much and I wish everyone knew about it and used it. It is incredibly useful and I would be devastated if this app ever disappeared. Things I love: 1) the pee times! It’s so handy to know the best time to go and then read the synopsis of what’s happening while I’m gone. I never have to worry about missing the good bits! 2) knowing if there is a post-credits scene or not. This might be my fav feature because I would have missed out on some pretty critical scenes if it weren’t for RunPee. 3) the movie review and viewer rankings. This info has made me watch some movies that I normally wouldn’t and it’s nice seeing things outside of my usual scope. 4) that it’s a small family run business. I love shopping small and it really does feel like I’m part of the RunPee family! If you reach out to them, Dan will personally respond to you and he is so warm and helpful. GET THIS APP AND THEN SUBSCRIBE! It is absolutely worth it and you’ll be using it again and again!

View all reviews
Apple App Store | Google Play Store

Download RunPee app

Apple App store     Google Play Store
Don’t miss your favorite movie moments because you have to pee or need a snack. Use the RunPee app (Android or iPhone) when you go to the movies. We have Peetimes for all wide-release films every week, including Predator: Badlands, Springsteen: Deliver Me from Nowhere, Bugonia and coming soon , The Running Man, Now You See Me: Now You Don't, Wicked: For Good, Sisu: Road to Revenge, Sisu: Road to Revenge, Hamnet, Hamnet and many others. We have literally thousands of Peetimes—from classic movies through today's blockbusters. You can also keep up with movie news and reviews on our blog, or by following us on Twitter @RunPee, or Discord, BlueSky. If there's a new film out there, we've got your bladder covered.
Please help promote the RunPee app by sharing our content.