Gabriel A. Zorrilla Gabriel A. Zorrilla - 6 months ago 6
PHP Question

Call PHP function from url?

If I want to execute a php script, i just point the browser to

But if i want to execute a specific function inside myscript.php, is there a way? something like



One quick way is to do things like

then in myscript.php

if(function_exists($_GET['f'])) {

But please, for the love of all kittens, don't abuse this.