First off, its not functions its magic variables/arrays! =)
Notice: Undefined variable: HTTP_GET_VARS
This is due to register_long_arrays being off, use $_GET insted of $HTTP_GET_VARS or activate register_long_arrays (deprecated not recommeded!)
Notice: Undefined variable: PHP_SELF
This is due to register_globals, use $_SERVER['PHP_SELF'] insted or activate register_globals (deprecated and not recommeded!)
Notice: Undefined variable: dir_files
That not a PHP variable, its a custom variable in the script, the notice is generated in examples like the one below:
PHP Code:
foreach(php_uname() as $key => $value)
{
/** Notice: Undefined variable: uname */
$uname .= $key . ': ' . $value . PHP_EOL;
}
To fix such notices you need to define the variable before usage, in the example above we would have to put this in before we run the foreach loop: