Jump to content

Recommended Posts

So i wanna upload files using ftp functions in php or using using move_uploaded_file()..but the thing is my host has WebShell3 that only allows uploading files less than 2MB..i talked to my web host and they said that they can't allow uploading files more than 2MB large..so i thought of making a .htaccess file but the web host told me its impossible if i'm on windows..so is there another way?..change web host?..im pretty desperate bcoz i need to upload mp3 files,setup files, flash files...and other text documents that will be larger than 2MB..any ideas?

Link to comment
https://forums.phpfreaks.com/topic/64031-urgent-cause-to-files-larger-than-2mb/
Share on other sites

so i thought of making a .htaccess file but the web host told me its impossible if i'm on windows

 

What do they mean by that? Do they mean if your site is hosted of off a windows server? Or if you are using a windows PC.

 

.htaccess file can be created/used on windows no problem. However .htaccess files can only work on your website if Apache is installed and is configured to use .htaccess files.

 

If you want to up the upload limit and your host does not allow you to up the limit then I'd say look for a new host that allows you to change PHP settings. Most shared hosts may not allow you to change PHP's settings. You might want to look into dedicated servers. These will allow you to configure the server to how want it to, but they are more expensive.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.