Re: redirecting some values from one page to other in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





babu wrote:

It will become a big mess up for me if i combine all the files as they are large files.

Matt Darby <matt@xxxxxxxxxxxxxx> 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


---------------------------------



Why not just combine all three files into one? So long as you place the form processing code over the actual HTML & PHP code that generates your webpage, all will be fine..

To do this all you need to do is set your form action=""

Matt Darby

Yahoo! Messenger NEW - crystal clear PC to PCcalling worldwide with voicemail




		
---------------------------------
Yahoo! Messen


Sorry -- Hit "Reply" instead of "Reply to All" :)

ger NEW - crystal clear PC to PCcalling worldwide with voicemail

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux