Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10676

Re: calling a value into another php script...

From Norman Peelman <npeelman@cfl.rr.com>
Newsgroups comp.lang.php
Subject Re: calling a value into another php script...
Date 2013-08-31 07:00 -0400
Organization A noiseless patient Spider
Message-ID <kvsidd$tvc$1@dont-email.me> (permalink)
References <9dd06eeb-b282-4093-a062-bdf7cee53d86@googlegroups.com>

Show all headers | View raw


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@xyz.com">name1,code1</option>
> <option value="y13@xyz.com">name2,code2</option>
> <option value="z33@xyz.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?-

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

calling a value into another php script... nag <visitnag@gmail.com> - 2013-08-28 18:35 -0700
  Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-28 22:56 -0400
    Re: calling a value into another php script... nag <visitnag@gmail.com> - 2013-08-29 06:06 -0700
      Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-29 09:31 -0400
      Re: calling a value into another php script... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-08-29 17:35 +0200
  Re: calling a value into another php script... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-08-29 11:40 +0200
  Re: calling a value into another php script... Twayne <nobody@spamcop.net> - 2013-08-29 20:18 -0400
    Re: calling a value into another php script... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-30 02:57 +0200
      Re: calling a value into another php script... The Natural Philosopher <tnp@invalid.invalid> - 2013-08-30 02:54 +0100
        Re: calling a value into another php script... Twayne <nobody@spamcop.net> - 2013-08-30 17:15 -0400
      Re: calling a value into another php script... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-08-30 11:57 +0200
        Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 08:49 -0400
          Re: calling a value into another php script... Denis McMahon <denismfmcmahon@gmail.com> - 2013-08-30 14:30 +0000
            Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 11:42 -0400
              Re: calling a value into another php script... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-31 00:19 +0200
                Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 20:33 -0400
                Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 20:57 -0400
                Re: calling a value into another php script... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-01 20:23 +0200
                Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-01 15:09 -0400
                Re: calling a value into another php script... Denis McMahon <denismfmcmahon@gmail.com> - 2013-08-31 01:28 +0000
                Re: calling a value into another php script... The Natural Philosopher <tnp@invalid.invalid> - 2013-08-31 03:55 +0100
                Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 23:02 -0400
        Re: calling a value into another php script... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-08-31 00:10 +0200
          Re: calling a value into another php script... Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-08-31 01:06 +0200
            Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 20:39 -0400
            Re: calling a value into another php script... Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-01 20:10 +0200
              Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-09-01 15:19 -0400
            Re: calling a value into another php script... Twayne <nobody@spamcop.net> - 2013-09-02 15:13 -0400
          Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 20:37 -0400
    Re: calling a value into another php script... The Natural Philosopher <tnp@invalid.invalid> - 2013-08-30 02:50 +0100
      Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-29 22:18 -0400
      Re: calling a value into another php script... Twayne <nobody@spamcop.net> - 2013-08-30 17:24 -0400
        Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-30 20:41 -0400
    Re: calling a value into another php script... Jerry Stuckle <jstucklex@attglobal.net> - 2013-08-29 21:50 -0400
  Re: calling a value into another php script... Norman Peelman <npeelman@cfl.rr.com> - 2013-08-31 07:00 -0400

csiph-web