This is a migrated thread and some comments may be shown as answers.

trouble with php

1 Answer 132 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 30 Sep 2011, 03:18 PM
I can't get a grip of the asynchronously uploaded file, I tried printing out $GLOBALS to find the file (it's not in $_FILES). Also
file_get_contents('php://input')
 is empty. I can see the file in "POST" tab in firebug, but it doesn't seem to ever reach the server. What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Krzysztof
Top achievements
Rank 1
answered on 30 Sep 2011, 03:48 PM
Nevermind. I found out that name attribute was missing in input:file. :)
Tags
Upload
Asked by
Krzysztof
Top achievements
Rank 1
Answers by
Krzysztof
Top achievements
Rank 1
Share this question
or