Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • HTML & Web Page Design
  • Add A Celebrity Birthday Search Form To Your Web Site?

Add A Celebrity Birthday Search Form To Your Web Site?

August 13, 2020 / Dave Taylor / HTML & Web Page Design / No Comments

I am constantly on IMDb searching to see which celebrities share birthdays with my friends and family. Good fun. Is there a way to just put a simple form on my own Web page that lets others do the same?

Last I heard, IMDb has over 10 million personalities listed in its database, ranging from actors to cinematographers, writers to visual effects experts. On any given day, therefore, there should be thousands of matches, right? Fortunately the Internet Movie Database offers up results using a variety of sort criteria including the popularity of the person matched. After all, if you share a birthday with someone like Oprah or Tom Cruise, you don’t want to have their name way, way down the list, right?

Your query is an example of reverse engineering in the Web world. We’re going to do a search, then analyze the resultant URL and break down the elements to create our own form that can duplicate the query format. Ready?

Now, generally speaking, IMDb would undoubtedly prefer that you visit their site to search, so let’s start out with just that, going to the IMDb Birth Month Day page for August 13th.

Here’s the result:

imdb birthdays 8/13 aug 13

Apparently both Sebastian Stan and Alfred Hitchcock were born on August 13. Cool.

But for our purposes, the URL that produces this page is much more important. Here it is:

imdb birthday on this day url

The general form here is webapp?arguments where the arguments are all name=value, separated by an “&” symbol. In other words, this breaks down to:

app = https://www.imdb.com/search/name/

arg1 = birth_monthday=08-13

arg2 = ref_=nv_cel_brn

I find that most of the arguments given to these sort of search systems can be safely removed and a tiny test reveals that the following URL produces the exact same page on IMDb:

https://www.imdb.com/search/name/?birth_monthday=08-13

Before we go any further, that means you can hand-code a URL for any date if you want to just have a link on your page like this: Celebrities born on February 29th. Just change the MM-DD in the URL to match!

But let’s get back to that form, shall we? The same URL is what our HTML form will need to duplicate. Easy, actually:

<form method="get" action="https://www.imdb.com/search/name/">
  <input name="birth_monthday" type="text" />
  <input type="submit">
</form>

Of course, adding some text will help people understand what’s going on, so here’s my final code:

<h2>What Celebrities Share Your Birthday?</h2>
<form method="get" action="https://www.imdb.com/search/name/">
  <span style="font-size:120%">Enter desired date in MM-DD format:</span>
  <input name="birth_monthday" type="text" /><br />
  <span style="color:#444">(For example, August 4 would be entered as 08-04)
  </span><br />
  <input type="submit">
</form>

The result? Here’s that form live and ready for you to test:

What Celebrities Share Your Birthday?

Enter desired date in MM-DD format:

(For example, August 4 would be entered as 08-04)

Pretty cool, eh? Now just copy and paste the above code block into the ‘raw’ or ‘text’ edit window and you should have no problem adding the exact same form to your own blog post or Web page. Easy!

Pro Tip: I’ve been writing about HTML and web page development since the very beginning of the Web, including a bunch of books on the way. Please do check out my HTML and Web Design Help area here on the site while you’re visiting! Thanks.

About the Author: Dave Taylor has been involved with the online world since the early days of the Internet. Author of over 20 technical books, he runs the popular AskDaveTaylor.com tech help site. You can also find his gadget reviews on YouTube and chat with him on Twitter as @DaveTaylor.

Let’s Stay In Touch!

Never miss a single article, review or tutorial here on AskDaveTaylor, sign up for my fun weekly newsletter!
Name: 
Your email address:*
Please enter all required fields
Correct invalid entries
No spam, ever. Promise. Powered by FeedBlitz
Please choose a color:
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!
celebrity birthdays, html forms, imdb celebrity birthday, imdb search, reverse engineer search, shared birthday

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • How Can I Share My Netflix Account With My Friend? [Updated for 2023]
  • How to Check Energy Recommendations on your Windows Laptop
  • How Do I Customize New Tab Windows in Safari for Mac?
  • Can AI-Generated ChatGPT Text Be Accurately Identified?
  • How to Perform a Microsoft Account Security Audit and Checkup

On Our YouTube Channel

How to: Replace a Switchbot Door Sensor Battery

EMEET Luna vs INNOTRIK Studio Bluetooth Speakerphones -- DEMOS & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help (163)
  • Android Help (226)
  • Apple iPad Help (147)
  • Apple Watch Help (53)
  • Articles, Tutorials, and Reviews (346)
  • Auto Tech Help (15)
  • Business Advice (200)
  • ChromeOS Help (31)
  • Computer & Internet Basics (779)
  • d) None of the Above (166)
  • Facebook Help (383)
  • Google, Chrome & Gmail Help (188)
  • HTML & Web Page Design (247)
  • Instagram Help (49)
  • iPhone & iOS Help (623)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (99)
  • LinkedIn Help (88)
  • Linux Help (173)
  • Linux Shell Script Programming (89)
  • Mac & MacOS Help (911)
  • Most Popular (16)
  • Outlook & Office 365 Help (33)
  • PayPal Help (68)
  • Pinterest Help (54)
  • Reddit Help (19)
  • SEO & Marketing (82)
  • Spam, Scams & Security (95)
  • Trade Show News & Updates (23)
  • Twitter Help (220)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (947)
  • Wordpress Help (206)
  • Writing and Publishing (72)
  • YouTube Help (47)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (62)

Archives

Social Connections:

Ask Dave Taylor


Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook



microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2023 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy