[nycphp-talk] receiving params passed from one webpage to another
zaunere at yahoo.com
Thu Jun 6 10:13:07 EDT 2002
This is certainly a register_globals issue - but don't turn it on! Code
Please help by <a href="browform.php?brow=<?=$brow?>">letting us
Then in browform.php:
Thank you for helping <?=$_GET['brow']?>!
Or something similar. Note that <?= will only work if short_tags is on
- as it is by default (I think). But register_globals defaults to off
for a reason - it's bad, as are most global vars.
--- 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:
> please help by <a href="browform.php?brow=<?php echo "$brow";
> us know</a>
> I can tell by the url that the parameter is being sent correctly.
> Then in browform I have (for testing purposes)
> <?php echo "$brow"; ?>
> But this gives me the notice that "brow is an undefined variable."
> So the
> 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
> 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
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
More information about the talk