jkkenzie Posted October 5, 2014 Share Posted October 5, 2014 I am using phalcon framework and am trying to upload a file but hasFiles() returns nothing or false yet there are posted file. if($this->request->hasFiles() == true){ // echo "sdfsf"; exit(); ..... I cant go through that if statement.. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
trq Posted October 5, 2014 Share Posted October 5, 2014 What have you done to debug the code? Quote Link to comment Share on other sites More sharing options...
jkkenzie Posted October 6, 2014 Author Share Posted October 6, 2014 trg: Sorry, i have to apologize that i forgot the enctype="multipart/form-data". I blame too many views (MVC). I did a lot of debugging though.... wasted a whole day, i was woken up early in the morning by the answer to my issue... :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.