Creating a function in php that checks that get value is in the order dd/mm/yyy
<p>I'm currently building a room booking system and was wondering how to check if the user has entered a date (get value) in the correct UK format of dd/mm/yyyy.</p>

<pre><code>$uk_date = $_GET["date"];
</code></pre>

<p>For example to avoid a situation where the user types in 12/2012 or 2012 or uses the incorrect separators.</p>

<p>Thanks in advance!</p>
