izstas Posted February 24, 2008 Share Posted February 24, 2008 I use PHP SDK. How i can allow or deny calling some functions? Link to comment
arc_ Posted February 24, 2008 Share Posted February 24, 2008 http://development.mtasa.com/index.php? ... Web_Access Link to comment
izstas Posted February 24, 2008 Author Share Posted February 24, 2008 I know it, but it allowing calling for all users. Link to comment
arc_ Posted February 24, 2008 Share 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. Link to comment
Recommended Posts