Call PHP Function based on URI
<p>I am looking to create a simple php script that based on the URI, it will call a certain function.</p>

<p>Instead of having a bunch of if statements, I would like to be able to visit:</p>

<p>/dev/view/posts/</p>

<p>and it would call a 'posts' function I have created in the PHP script.</p>

<p>Any help would be greatly appreciated.</p>

<p>Thanks!</p>
