While I am not sure that you can actually call the function, something close would look like this:
Using the URL:
example.php?action
Contents of example.php:
<?php
switch($QUERY_STRING) {
case "action":
<execute instructions or function>
break;
default:
break;
}
?>