View Full Version : Can't make file upload example work

24 Sep 2009, 12:15 PM

I have local tomcat server with php (version 5) in my machine. When I tried file-upload.html, file-upload.php didn't get value of $_FILES['photo-path']['name'] so o.result.file is always null. If I change the value to fileUpload: false, then at least I can get the value of $_POST['Name'] from php side, but with value true, I can't get any value in $_POST and $_FILES. I've checked the php.ini file for the file upload configuration and I believe that I set all the configuration values correctly as follows;

file_uploads = On
upload_max_filesize = 2M
post_max_size = 2M

Am I missing something to run this example?
Thanks in advance.

2 Oct 2009, 7:02 AM
First, get uploads to work with a generic form.

Then if you can do that, try it with Ext JS.

if it fails, post your code!