Alternatives for accessing PHP functions
<p>Currently, I'm developing an application using standard PHP. As such, there are assorted functions that are called from forms.  Some examples include registration, login, logout, and others.</p>

<p>Rather than creating a separate file for each function, I'm using a <code>phpscripts.php</code> file in the includes folder.  To execute a function from html input, I pad the URL with <code>?action=functionName</code>.  Inside the script file, I use a switch/case tree to execute the proper function based on the <code>S_GET['action']</code> variable.</p>

<p>Is there a better way to implement HTML calls to PHP functions?</p>
