Re: Troubles in variables management

From: Date: Thu, 25 May 2000 12:22:59 +0000
Subject: Re: Troubles in variables management
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-537@lists.php.net to get a copy of this message
> When i submit a form to another PHP3 page, the variables that i've defined > in the first page aren't passed to the second one because in their place > apears nothing, not even an empty space. > > What kind of fields in wich files (from PHP configurations) do i update to > make the transportation of variables from one page to another work right? At > the moment I'm working with an Apache server, to run PHP3 scripts. I think > i've updated the all the right fields in php3.ini, but just in case... Usually variables are passed from one page to the next using GET variables and POST data. You can use the serialize function to store them on the server if you prefer, but that's almost certainly not what you want! The on-line manual talks about this kind of thing (search on HTTP_GET_VARS / HTTP_POST_VARS) to get you started. If you want them stored privately on your server then try a database. I can heartily recommend MySQL -- I've used it extensively for about 6+ months now and it's the best! I can't recommend any other database more for just about any purpose. There are mysql modules and support so your Apache/PHP setup will work fine. Only if you want a database though -- check out the GET / POST vars first! Enjoy :) James.

« previous php.general (#537) next »