Re: problems with variables
| From: | sven | Date: | Mon, 16 Jun 2003 09:06:33 +0000 |
| Subject: | Re: problems with variables | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20342@lists.php.net to get a copy of this message | ||
your vars you want to send to your next page are stored in these arrays.
so if you POSTed a form with $name and $email use $_POST['name'] or
$HTTP_POST_VARS['email'] in your script instead of the awaited $name and
$email.
ciao SVEN
"Felipe Lorente" <lipeweb@terra.es> schrieb im Newsbeitrag
news:20030616090108.84710.qmail@pb1.pair.com...
>
> Thanks, but where should I use $HTTP_XXXX_VARS['varname'] Arrays??
>
> Thanks again.
>
> Felipe.
>
> "Malte" <der_diggen@gmx.net> escribió en el mensaje
> news:000701c333da$00d10010$0200a8c0@dagegen...
> > you probably got register globals turned off in your php.ini file. Turn
it
> > on or use the
> > $HTTP_XXXX_VARS['varname'] Arrays
> >
> > XXXX can be POST, GET, SESSION and so on
> >
> > malte
> >
> > ----- Original Message -----
> > From: "Felipe Lorente" <lipeweb@terra.es>
> > To: <php-windows@lists.php.net>
> > Sent: Sunday, June 15, 2003 7:57 PM
> > Subject: [PHP-WIN] problems with variables
> >
> >
> > > Hello all,
> > >
> > > I just have installed php 4.3.2, and it runs fine with single files.
> The
> > > problem comes when I try to pass a variable from another file, it
> doesn`t
> > > recognise this variable. I am using IIS 5.1 with Win XP and I have
used
> > the
> > > windows instaler to install the sources on my machine. Does anyone
know
> > what
> > > can happen?? Thanks.
> > >
> > > Felipe.
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>