Without passing the parameters in URL, how can we send the variables to other pages and use the functionalities in that pages in php. How can we implement this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’re two ways to achieve this. 1) using cookie and 2) using session. Using session/cookie you’ll have the variable to all the application.
Here’re some tutorials for session and cookies.
Session
http://www.w3schools.com/php/php_sessions.asp
http://php.about.com/od/advancedphp/ss/php_sessions_2.htm
Cookie
http://www.w3schools.com/php/php_cookies.asp