The attached program (index.php) results in a 404 Not Found message. The exact message in the nginx error log is as follows:
2015/11/16 11:44:53 [error] 17711#17711: *815 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '{', expecting ',' or ';' in /var/www/workspace/index.php on line 11" while reading response header from upstream, client: 127.0.0.1, server: wip, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "wip"
At this point, I cannot find the uploaded file anywhere and suspect that no file was uploaded anywhere. I suspect the problem has to do with the location of $_FILE, but I am at a loss to identify or locate any file or directory where the file was supposed to be uploaded.
Can anyone tell me where to find the uploaded file and/or if it got uploaded?