Check if date is before or after a certain date in the same month
I am developing a web app using PHP (Codeigniter). When a user makes a request for a certain resource in the app I need to check if todays date is before or after the 25th of this month. How can I do this? I do not know how to do it.