Re: passing variables between php pages
| From: | Paras Mukadam | Date: | Thu, 09 May 2002 02:39:21 +0000 |
| Subject: | Re: passing variables between php pages | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96744@lists.php.net to get a copy of this message | ||
I am a newbie to PHP, but have a doubt in mind. Can't we define some global
variables (in php.ini or anywhere) and use them in this case ?
--Paras.
"Austin Marshall" <amars@pdq.net> wrote in message
news:3CD9ACBC.8020503@pdq.net...
> Simpler? not really... there are several ways of passing information fro
> mone script to another, whether it's via the traditional tried and true
> POST and GET methods or via cookeis or sessions, or storing information
> in files or a database. No you don't have to use POST or GET but they
> will be the easiest most common way.
>
> Baldey_uk wrote:
> > Hello all,
> >
> > If i want to pass variables from one php page to another do i have to
use
> > the POST or GET html methods or is there a simplier way? What i am
wanting
> > to do is take input from a html form, pass those as variables to a php
page
> > (which i have done), do a couple of if or else operations and then pass
> > those same variables onto different php pages. Thanks for any help in
> > advance!
> >
> > Cheers From
> >
> > baldey_uk