I would like to know how can I upload a file after selecting it using HTML5 in that way:

```
<input type="file" .... />

```

The line above gives you the option to SELECT a file, now I need to upload it to the server.
Since I don't know the answer I'll tag both php and Javascript.