I would assume if you have a page of 50 functions and only one gets called, it is because you pass in the name of the action you want to happen in theurl: actions.php?do=logoutor something like that. So you just take that string and call your action. This of course would be a page that assumed a level of trust with the useror was alright with the user calling any of the 50 functions. $func = $_GET['do']; $func();
That's exactly what we are considering doing in replace of our massive switch.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
