Welcome Guest, Not a member yet? Register   Sign In
need to restrict action to a function
#1

[eluser]gloosemo[/eluser]
inside a Register class in the controller function i have function index() which displays a page. on this page i make an ajax call using function checkEmail() inside the same class. it works fine but i don't want people to be able to access the checkEmail function by typing register/checkemail into the browser. How can i do this?

thanks




Theme © iAndrew 2016 - Forum software by © MyBB