izstas Posted February 24, 2008 Posted February 24, 2008 I use PHP SDK. How i can allow or deny calling some functions?
arc_ Posted February 24, 2008 Posted February 24, 2008 http://development.mtasa.com/index.php? ... Web_Access
izstas Posted February 24, 2008 Author Posted February 24, 2008 I know it, but it allowing calling for all users.
arc_ Posted February 24, 2008 Posted February 24, 2008 It's php scripts doing the function calls, not users. If you have 1 php page which several users visit, add some login system and only show the buttons that do function calls to approved users. If you just want to make sure that no php script calls the functions except yours, you could add an extra "password" argument to the functions which needs to be correct for them to execute.
Recommended Posts