View Single Post
  #9  
Old 11-19-2005, 06:23 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I guess you can dynamically call functions, but function name and parameters must be stored independently, not in one single string. Example:
PHP Code:
functionname "say2";
functionparam1 "Hello!";
(@
functionname)(functionparam1); 
or

PHP Code:
functionandparams "putexplosion,2,30,30";
(@
functionandparams[0])(functionandparams[1], functionandparams[2], functionandparams[3]); 
Such stuff should only be done by experienced scripters though, since it can be quite insecure.
Reply With Quote