404 Page Template

Utility Functions

The page tries to validate any date entry against the dates of the blog posts.

The function queries the database for the oldest and newest blog posts and compares the given date. If the entry is outside the date range, the query is flagged as invalid.

This page relies on the blog posts being in the ‘year/month/date/postname’ format.

Share
The short URL of the present article is: http://www.terryobrien.me/KmGVq

Page 2 of 2
First | Prev | 1 | 2 | Next | Last
View All