Hey guys, maybe you can help me out, I really really..need it!
I am making a username/password login for my website, and we have Client-Logins, however, right now I have the username and passwords just written into the php.. FOr example:
<?
if($username == test && $password == test1);
{
echo("(HTML CODES GO HERE FOR THERE CERTAIN WESBITE. IN OTHER WORDS I PUT THE HTML INSIDE THE SCRIPT. PROVLEM WITH THIS IS IN THE FUTURE IT WILL BE TO BIG AND HARD TO EDIT)Welcome test!");
}
if($username == test2 && $password == test3);
{
echo("Welcome test2!")
}
If i messed up, sorry Im trying to type this as fast as i can. Basically im putrting the HTML coding in the PHP and I dont want to have to do that, how do i set it up so it takes it to a certain site, and so they CAnt just go back to that site without logging in? THanks in advance!