Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7842

Re: Gettting values from URL in PHP 5.4

From Christoph Becker <cmbecker69@gmx.de>
Newsgroups comp.lang.php
Subject Re: Gettting values from URL in PHP 5.4
Date 2012-12-18 20:12 +0100
Organization Aioe.org NNTP Server
Message-ID <kaqf2q$7nr$1@speranza.aioe.org> (permalink)
References <kaqadm$bba$1@dont-email.me>

Show all headers | View raw


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.

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Gettting values from URL in PHP 5.4 "Tim Rude" <timrude.nospam@nospam.hotmail.com> - 2012-12-18 11:50 -0600
  Re: Gettting values from URL in PHP 5.4 Salvatore <sal@yojimbo.hack.invalid> - 2012-12-18 17:55 +0000
  Re: Gettting values from URL in PHP 5.4 Christoph Becker <cmbecker69@gmx.de> - 2012-12-18 20:12 +0100
    Re: Gettting values from URL in PHP 5.4 Jerry Stuckle <jstucklex@attglobal.net> - 2012-12-18 14:44 -0500
      Re: Gettting values from URL in PHP 5.4 "Tim Rude" <timrude.nospam@nospam.hotmail.com> - 2012-12-18 14:02 -0600

csiph-web