FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Gettting values from URL in PHP 5.4
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Gettting values from URL in PHP 5.4 [message #179912 is a reply to message #179911] Tue, 18 December 2012 20:02 Go to previous message
Tim Rude is currently offline  Tim Rude
Messages: 2
Registered: December 2012
Karma:
Junior Member
"Jerry Stuckle" <jstucklex(at)attglobal(dot)net> wrote in message
news:kaqh46$pck$1(at)dont-email(dot)me...
> On 12/18/2012 2:12 PM, Christoph Becker wrote:
>> Tim Rude wrote:
>>> With PHP 4, it works perfectly.
>>
>> The working of the code is actually not directly related to the PHP
>> version, but to the PHP ini setting "register_globals"
>> (<http://php.net/manual/en/security.globals.php>). This setting has
>> been finally removed from PHP 5.4.
>>
>> How to fix your existing code has already been explained by Salvatore.
>> I would prefer using $_GET, $_POST or $_COOKIE instead of $_REQUEST.
>>
>
> I agree. Use the proper array - $_GET, $_POST or $_COOKIE.
>

Thank you all. Fortunately I only have this code in 6 spots on one page, so
it's an easy fix to add the $_GET.

Much obliged. :)

Tim Rude
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic redirect - losing variable
Next Topic: HP syntax error, unexpected T_variable
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 18:22:58 GMT 2024

Total time taken to generate the page: 0.04158 seconds