Question: I have form for example:

```
<input type="text" />

<input type="file" />

<input type="submit" />

```

You have to fill the text and the file, if you dont fill the text for example you have an error message, but I want to preserve what the user filled in the file's input.
How to do it with `$_POST` or somthing else?

Answer: 
> 
> I want to preserve what the user filled in the file's input.
> 
> 
> 

Impossible.
NOTE: 

$\_POST is not the superglobal that will provide information related to 'file' inputs'. Look into you $\_FILES superglobal for that kind of information.