php - Send post through two files -
i'm making login system in php. have 3 files, login.php, check.php , login_success.php.
in login.php have login form enter username , password hit button send data check.php $_post see if login matches database. if does, continue on login_success.php user logged in , see content of webpage.
now problem/question: want able use variables posted check.php login.php in login_success.php.
is there way can keep posting data through 1 file third?
i have tried using include = 'check.php'; didn't work nothing had been sent file variables empty.
hopefully knows way, thanks!
if want post data login page login_success.php page must store post data $_session
variable on login success page.
Comments
Post a Comment