Re: Cannot read variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yess!

Wrong ini file...
There seems to be 3 of them on the same PC for some reason?

-W

"David Otton" <phpmail@xxxxxxxxxxxxxxxxxxxxxxx> kirjoitti 
viestissä:kefa82dmelcq9l5a2a99gtvihjhpcdd8co@xxxxxxxxxx
> On Tue, 6 Jun 2006 10:36:12 +0300, you wrote:
>
>>I just set up a test box for PHP/MySQL on a WinXP box  and now I'm having
>>trouble with variables passed to browser from a link.
>>
>>For example I have a link that outputs this:
>>http://localhost/index.php?team=CF10b. Now the CF10b cannot be user in the
>>code like it should.
>>
>>I turned to Register Globals on in the php.ini but that didn't help. Any
>>ideas?
>
> Most likely you didn't turn RG on (typo? wrong php.ini?), or didn't
> restart.
>
> Try:
>
> print_r ($_POST);
> print_r ($_GET);
> print_r ($_REQUEST);
>
> to see if your variable is being passed. If it is, PHP isn't set up as
> you want it. If it isn't, there's something more fundamental wrong.
>
> -- 
>
> http://www.otton.org/ 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux