php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #495 GPC order on per-file basis
Submitted: 1998-06-30 13:55 UTC Modified: 2001-06-08 06:59 UTC
From: doka at webest dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 OS: Any
Private report: No CVE-ID: None
 [1998-06-30 13:55 UTC] doka at webest dot com
Hi!

On Sat, 21 Mar 1998, Rasmus Lerdorf wrote:

> Vladimir, I just added a "gpc_order" php3.ini directive and its matching
> php3_gpc_order Apache .conf directive.
> 
>    gpc_order=GPC

 Is this difficult thing to add such ability on per-file basis, like
 <?php_track_vars?> directive? I have many script in one directory and want to
 treat variables in other, than default, order in some of these scripts.

---
Vladimir Litovka <doka@webest.com>, lamer

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 12:22 UTC] jimw@php.net
moving to 4.0.
 [2001-02-10 12:57 UTC] jimw@php.net
really moved.
 [2001-06-08 06:59 UTC] cynic@php.net
IIRC <? php_track_vars ?> doesn't work anymore either (and isn't supposed to). this can be done in .htaccess:

<Files foo.php>
    php_value variables_order = "EGPCS"
</Files>

<Files bar.php>
    php_value variables_order = "SCPGE"
</Files>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 15:01:32 2024 UTC