how can I change the max file upload size or get around the 2MB default limit? Im using a remote host so I cant edit their php.ini

    I'm not sure the syntax or what to put, I've never edited the .htaccess file before

      Try this:

      <ifModule mod_php4.c>
      php_value upload_max_filesize 4M
      </IfModule>

      That would go into the .htaccess file in the same directory as your script, I think. But there's also the possibility that your hosting company's server settings are such that you can't override.

        Write a Reply...