Re: redirecting some values from one page to other in php
| From: | Matt Darby | Date: | Wed, 20 Jul 2005 20:40:11 +0000 |
| Subject: | Re: redirecting some values from one page to other in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219074@lists.php.net to get a copy of this message | ||
babu wrote:
does session.auto_start should be set to 1 for sessions to work. Mikey <frak@totalise.co.uk> wrote:babu wrote:So long as you call session_start(); at the very top of your scripts, sessions will work. session.auto_start is fine if your entire site will be using sessions. Matt DarbyI am using header method for redirecting to another php file.I also want to pass some variables to the redirected file. for example: file1.html---- where i have a dropdown menu. the user selects the options... this form has a action to file2.php file2.php--- i get the values of the form by using $_POST. In this file i will do some processing on data and redirect to file3.php file3.php---- here i need the user select menu items. i think i can use require_once(file2.php) in file3.php and get the values.But i want to get the values selected by user from html form. Thanks for the help. babu --------------------------------- Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemailYou could put them in session vars - http://uk.php.net/manual/en/ref.session.php Mikey