Hey guys,
I am currently design a Web Based CMS, and I need to figure something out.
I have one file for login form in html, it does the validation of the login in to a php file then it loads another page if it is entered in correctly.
This is the code for the redirection part
"header("location:main.php");
Now what i want to do is pass the user name from the login form to the main.php page so i can display welcome (username)!
can someone help me?
I am currently design a Web Based CMS, and I need to figure something out.
I have one file for login form in html, it does the validation of the login in to a php file then it loads another page if it is entered in correctly.
This is the code for the redirection part
"header("location:main.php");
Now what i want to do is pass the user name from the login form to the main.php page so i can display welcome (username)!
can someone help me?