jeremiorama Posted May 23, 2006 Share Posted May 23, 2006 Hi there,I was wondering about something: is there another way besides cookies, session variable (which are cookies as well) and database to save a value throughout the scope of the user's surf on the web site? I'm wondering if there could be a use of global variables that would be saved on the server but I don't think it would work.Also, I wanted to know if session variables are a good use of PHP?Thanks a lot,-Jeremiorama Quote Link to comment https://forums.phpfreaks.com/topic/10299-variables/ Share on other sites More sharing options...
.josh Posted May 23, 2006 Share Posted May 23, 2006 you can pass information using the $_GET and $_POST arrays, with links and/or forms. Or you can store information in like, a text file and open/read it on each page... other than that.. umm.. why? Do you have some sort of limitation imposed upon you, or something? Quote Link to comment https://forums.phpfreaks.com/topic/10299-variables/#findComment-38407 Share on other sites More sharing options...
jeremiorama Posted May 24, 2006 Author Share Posted May 24, 2006 Hey,Well I was just wondering about all the possibilities. So using session variables would be alright then, and a better structured way of doing things, right?Thanks,-Jeremiorama Quote Link to comment https://forums.phpfreaks.com/topic/10299-variables/#findComment-38536 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.