NYCPHP Meetup

NYPHP.org

[nycphp-talk] receiving params passed from one webpage to another

Michael Southwell southwell at dneba.com
Thu Jun 6 10:44:26 EDT 2002


Register_globals is already turned on, so that's not it.  The url 
"http://localhost/dneba/browform.php?brow=a%20new" shows me that the 
parameter is indeed being passed.  Echoing 
$GLOBALS[HTTP_GET_VARS]['brow']  produces "Array['brow']" which I don't 
find exactly comprehensible but is clearly not what I'm looking for.  So 
I'm still stuck.


At 11:23 PM 6/5/2002, you wrote:
>Try to echo $GLOBALS[HTTP_GET_VARS]['brow']  on the receiving page. If 
>this works, you might want to look into whether you should 
>enable   register_globals in php.ini.
>
>Oktay Altunergil
>
>On Wed, 05 Jun 2002 23:15:25 -0400
>Michael Southwell <southwell at dneba.com> wrote:
>
> > Here I am with another elementary question; sorry about that.
> >
> > I'm trying to pass parameters from one webpage to another.  So
> > I have something like this in the first one:
> > <CODE>
> > please help by <a href="browform.php?brow=<?php echo "$brow"; ?>">letting
> > us know</a>
> > </CODE>
> > I can tell by the url that the parameter is being sent correctly.
> >
> > Then in browform I have (for testing purposes)
> > <CODE>
> > <?php echo "$brow"; ?>
> > </CODE>
> > But this gives me the notice that "brow is an undefined variable."  So the
> > problem
> > is that browform isn't receiving the parameter.
> >
> > I'm sure there's some very simple answer to this (I have this
> > kind of thing working perfectly elsewhere in a POST), but right now I'm
> > stumped.
> > Can somebody help?  Thanks in advance.
> >
> >
> > Michael G. Southwell =================================
> > DNEBA Enterprises
> > 81 South Road
> > Bloomingdale, NJ 07403-1425
> > 973/492-7873 (voice and fax)
> > southwell at dneba.com
> > http://www.dneba.com
> > ======================================================
> >
> >
> >

Michael G. Southwell =================================
DNEBA Enterprises
81 South Road
Bloomingdale, NJ 07403-1425
973/492-7873 (voice and fax)
southwell at dneba.com
http://www.dneba.com
======================================================





More information about the talk mailing list