php - Cannot upload .CSV via form on Mac computer -


i have script takes .csv , uploads , processes via php. works fine on browsers via windows. on otherhand, osx, fails uploads. instantly posts form without loading data. i've tried making sure .csv file has extension on osx. thank in advanced if can help.

<form name="batchupload" id="batchupload" class="navbar-form pull-left" method="post" enctype="multipart/form-data">     <input name="uploadcsv" id="uploadcsv" type="file" class="button" accept=".csv">      <input name="companyid" type="hidden" value="<?php echo($_session['companyid'])?>">     <input name="action" type="hidden" value="batchupload"/>     <button type="submit" class="btn btn-medium btn-info" id="submit-upload" style="margin:5px 0 0 20px;">upload</button> </form>  


Comments

Popular posts from this blog

.htaccess - htaccess convert request to clean url and add slash at the end of the url -

c++ - Checking for a nested, templated class -

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -