Re: calling a value into another php script... [message #182722 is a reply to message #182689] |
Sat, 31 August 2013 11:00 |
Norman Peelman
Messages: 126 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 08/28/2013 09:35 PM, nag wrote:
> Hi all,
>
> I am using an index.html to execute a php prog. First I am choosing a an option from a dropdown list,
> which will connect to a mail server. If the password is correct then
it will open second html page.
> I want to call the code part into the second html page. How can it be
done?
>
> <form action=xyz.php method=POST>
> <option selected>Select from list</option>
> <option value="x23(at)xyz(dot)com">name1,code1</option>
> <option value="y13(at)xyz(dot)com">name2,code2</option>
> <option value="z33(at)xyz(dot)com">name3,code3</option>
>
>
> thank you.
>
nag,
This is a basic SESSION issue. You need to start a SESSION when the
visitor enters the index page and then use the SESSION to transfer data
to your xyz/mail server page. For this basic setup to work you need to
run everything through PHP to maintain the SESSION.
Please see: http://us3.php.net/manual/en/book.session.php
--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
|
|
|