Just like the question title, if I have an update_process.php, how to check if people access it by typing it in the address bar or if they go through the page from submitted form?
So if they type it in the address bar, I’ll redirect them to other pages.
Oh yeah, i’m talking about the method in CI. so maybe if the file is blog.php and method update_process, i don’t want people to type in the address bar blog/update_process
You can check the $_SERVER global variable
If not set to POST, then they did not use the form