NYCPHP Meetup

NYPHP.org

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

Oktay Altunergil nyphp at altunergil.com
Wed Jun 5 23:22:58 EDT 2002


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
> ======================================================
> 
> 
> 



More information about the talk mailing list