Re: redirecting some values from one page to other in php
| From: | babu | Date: | Wed, 20 Jul 2005 20:14:45 +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-219073@lists.php.net to get a copy of this message | ||
does session.auto_start should be set to 1 for sessions to work.
Mikey <frak@totalise.co.uk> wrote:babu wrote:
>I 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 voicemail
>
>
You could put them in session vars -
http://uk.php.net/manual/en/ref.session.php
Mikey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get
Yahoo! Photos