Re: Sending a variable
- From: Rik <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 19:07:47 +0100
Gunnar G <debian@xxxxxxxxx> wrote:
Notice the word essentialy ;-)That's not the only thing he missed.In foo.php I do (essentialy)
Now, anough teasing, let's help the OP:Oh my... I'm going to set fire to my old PHP programming book and get me one
$a000 & $Vtempfname will only be available in bar.php if register_globals
is enabled. This would not be a wise choice. To access the variables use
$_GET['a000'] & $_GET['Vtempfname'].
that covers PHP 5.
Well, PHP 4.2 actually (that's when it defaulted to off). You're right though that books assuming register_globals is on are outdated, sloppy, or both :)
--
Rik Wasmus
.
- References:
- Sending a variable
- From: Gunnar G
- Re: Sending a variable
- From: Captain Paralytic
- Re: Sending a variable
- From: Rik
- Re: Sending a variable
- From: Gunnar G
- Sending a variable
- Prev by Date: Re: WAMP5, short tags and CLI PHP issue
- Next by Date: Re: I cannot install anything with pear.
- Previous by thread: Re: Sending a variable
- Next by thread: Re: I cannot install anything with pear.
- Index(es):