Hi, Im trying to access home.php the moment the user clicks login, however it reaches a 404 page not found error. I checked capitalization and everything and to me everything seems fine, i ran the code locally and everything worked fine there as well. Thanks in advance!
Some additional information, after the user clicks the login button it uses php “Location: Home.php” however when the user clicks create an account it uses html “Href= Registration.php”. it works when using html but when using php it breaks
I am confused. In post #1 you said you want users to go to home.php. However, in post #3, you say it redirects to Home.php (please note the capital H).
Maybe the reason it does not work in PHP is because the headers have already been set. If you are only redirecting to home.php, maybe you could try it in HTML.
everything works now when they say linux is case sensitive they really mean it lol, sql commands are case sensitive, your database name is case sensitive and your web pages are case sensitive so make sure all of those are good