"text" + var + "more text"), in PHP I always used
"text" . $var . "more text". That may change soon, though, as it seems that embedding variables in string literals is a bit faster.
In PHP, when you submit a file input that has multiple files (as in, it is named
<input ... name='foo' />), it organizes it oddly. The
$_FILES array contains a single key, then within that key is an array with keys
"name", "tmp_name", "size", "type", "error". Within each of those keys is an array with the data for each file.