Jump to content
xisto Community
Sign in to follow this  
shaldengeki1405241473

Question On Depecrated Tracking Variables In Php

Recommended Posts

It seems I can no longer use the <?php_track_vars?> line... it returns an error saying this:

 

Warning: <?php_track_vars?> is no longer supported - please use the track_vars INI directive instead in <insert filepath here> on line 1

So what do I replace the track_vars command with? O_o Any help would be appreciated.

Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

The code you are using was used before which acted like the READPARSE() function in perl. This code automatically puts all the values passed to a script by get, post etc in an array. But after PHP 4.0.3 this was removed and was enabled by default in the forum of track_vars. So in other words, you simply dont have to include it.

The Following Explanation is given in the PHP Manual.

If enabled, then Environment, GET, POST, Cookie, and Server variables can be found in the global associative arrays $_ENV, $_GET, $_POST, $_COOKIE, and $_SERVER. The thing that you are using is quite outdated and if enabled..Note that as of PHP 4.0.3, track_vars is always turned on.

I hope the above information is useful.

-OpaQue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.