Jumping headfirst into some PHP programming for a senior project. Not done PHP (or web development at all) before this so I'm having to do a lot of learning on the fly - which is almost how I prefer it.
Anyways - We have the site setup so that if you visit a page that requires authentication, it bounces you back to the login page. What is the best way to pass data to the login page so that it intelligently displays a message like "That action requires authentication."? We'd presumably use this to display a message when the username/password is incorrect as well.
Anyways - We have the site setup so that if you visit a page that requires authentication, it bounces you back to the login page. What is the best way to pass data to the login page so that it intelligently displays a message like "That action requires authentication."? We'd presumably use this to display a message when the username/password is incorrect as well.