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 #179911 is a reply to message #179910] Tue, 18 December 2012 19:44 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Sat Nov 30 07:06:37 GMT 2024

Total time taken to generate the page: 0.05931 seconds