RunPee

The app that tells you the best time to

run and pee during a movie without missing the best scenes.

100% free (donation supported) Apple App Store | Google Play Store

Learning lots of new things with PHP

Read Time:1 Minute, 24 Second

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——

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 the Google Play Store

Read more about the RunPee app.

What people are saying
about the RunPee app.

dd33803, 07/05/2023

This is a great app. I wish more people would support it

This app provides info about movies, reviews, ratings from people who have seen it before and after viewing. It has links to info about the movies. It let’s you know when there will be a lull in the action and how long it will last. If you want to know what happens during that time, you can check the brief synopsis (you have to click a link, so no accidental spoilers). It has a timer you can set (silent) to alert you to a break. It also tells you whether there is anything extra during or after the credits. It’s really a wonderful app. I’ve subscribed for a couple of years to support the developers, but I noticed some of the links to provide feedback didn’t seem to work today. They also made it free, with voluntary donations to see the pee-times. If you haven’t tried it, I encourage you to do so, and subscribe if you like it. I really hope the app is supported so it can continue to be maintained!

Developers note: RunPee doesn’t make much money but it supports itself nicely. Donations are appreciated, but not required. We’ll add as many movies to the database as we can until there are no more movie theaters.

View all reviews: Apple App Store | Google Play Store

Get the RunPee app at the Google Play Store     Get the RunPee app at the Google Play Store


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.

Don’t miss your favorite movie moments because you have to pee or need a snack. Use the RunPee app (Androidor iPhone) when you go to the movies. We have Peetimes for all wide release films every week, including Drive Away Dolls, Madam Web, One Love, Argylle, I.S.S., and coming soon DUNE part II 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. If there’s a new film out there, we’ve got your bladder covered.

Movie Reviews

Movie Review – Ordinary Angels

A woman named Sharon Stevens made it her goal to see a family through hard times while battling her…

Movie Review – Drive-Away Dolls

Drive Away Dolls feels like a lesbian version of Pulp Fiction that was written by Wes Anderson. I…

Movie Review – Madame Web

Obviously, no one involved with making this movie can see into the future. If they could, they…

Movie Review – Bob Marley: One Love

This movie offers a glimpse into the life and legacy of the iconic reggae legend Bob Marley…

Movie Review – Lisa Frankenstein

Lisa Frankenstein was a delightfully fun movie. One word keeps coming to mind, whimsical. From the…

Movie Review – The Jungle Bunch 2: World Tour

Jungle Bunch: Operation Meltdown was a cute film but it didn’t quite grab me or my…

Movie Review – Maestro

“I love music so much that it keeps me glued to life,” Leonard Bernstein (Lenny), world-renowned…

Movie Review – Founders Day

Founders Day was not that bad, It was definitely better than I thought it would be. The story was a…

Comments

Leave a Reply

RunPee