FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » calling a value into another php script...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: calling a value into another php script... [message #182722 is a reply to message #182689] Sat, 31 August 2013 11:00 Go to previous message
Norman Peelman is currently offline  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?-
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP wirdwrap()
Next Topic: str_replace & assign to a var?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 02:22:25 GMT 2024

Total time taken to generate the page: 0.04469 seconds