Question: I've got an old script here, which's based on the functionality that it creates variables from the POST Array. I know it's old and shouldn't be used, but which parameter do I need to activate it? `$_POST['output']` should automatically become `$output`.

I've been searching on php.net and google, but I can't seem to find the name of this parameter.

Answer: 
Easy 

```
extract($_POST);

```

Now

```
echo $output;

```

EDITS : 

The above method has been deprected now. It can be achieved like this

```
extract(array_intersect_key($_POST, $array_of_expected_keys))

```
There was in previous versions of PHP.
From [PHP Post variables](https://stackoverflow.com/questions/7247572/php-post-variables)

`register_globals` was an old way of getting the submitted values with their name as variable rather than as post ,get, and request variables. But this is deprecated in newer version. You need to your code for this to accept `$_POST['email']` instead of `$email`.