PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
When I take out the header it runs fine but I substitute the header for an echo "You are now logged in, $username!". When I put the header in, it makes plogin.php a blank page..Thanks for any future replies.
It's either not reaching that bit of code, or you need the space in ..
header("Location: http://seifer.travisbsd.org");
*note the space between the : http*
Well, if there's an error somewhere above the header..then it will cause the header to fail as output has already been sent (the error). And if you're error_reporting isn't high enough and/or display_errors is Off then you won't see the error and the header will fail, hence a blank page