icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Shared Hosting » uploading file

Shared Hosting Questions about your shared hosting account.

Reply
 
LinkBack Thread Tools Search this Thread
Old November 9th, 2009, 4:29 PM   #1 (permalink)
Registered User
Comfy Contributor
 
Joined in Jun 2005
124 posts
Gave thanks: 0
Thanked 0 times
uploading file

Hi

Why is it that you can upload large files when you are using FTP, but you cant upload large file size beyond the max when you are using browser to upload ?
skyhigh007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 9th, 2009, 5:55 PM   #2 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
7,243 posts
Gave thanks: 118
Thanked 236 times
Send a message via AIM to DewKnight Send a message via MSN to DewKnight Send a message via Yahoo to DewKnight
Uploads with the browser are limited by the max upload size in the php.ini

This can be changed for your script, send us a ticket with the location of the script and how big you need the limit to be
DewKnight is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 17th, 2009, 1:43 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2007
3 posts
Gave thanks: 0
Thanked 0 times
is it possible to change the value in a custom php.ini and have it fix the problem?
Dia19 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 17th, 2009, 1:58 PM   #4 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
7,243 posts
Gave thanks: 118
Thanked 236 times
Send a message via AIM to DewKnight Send a message via MSN to DewKnight Send a message via Yahoo to DewKnight
Yes, you can create a php.ini file with the following:
upload_max_filesize = 10M
post_max_size = 20M

That file will need to be placed in the directory of the script requiring the setting.

But it's good to use the existing php.ini for the server and modify the settings you need. We can place a copy of it in your account if you need. Just send in a ticket
__________________
Russell P. - Server Analyst I
Mountain Dew Knight
DewKnight is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 17th, 2009, 2:07 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2007
3 posts
Gave thanks: 0
Thanked 0 times
Can the script timeout be set locally or does that need to be requested? I believe right now the server is set at 30sec?
Dia19 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 17th, 2009, 2:15 PM   #6 (permalink)
Skittles
Super #1
 
DewKnight's Avatar
 
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
7,243 posts
Gave thanks: 118
Thanked 236 times
Send a message via AIM to DewKnight Send a message via MSN to DewKnight Send a message via Yahoo to DewKnight
Yes, you can do that with the following lines (in seconds):

max_input_time=120
max_execution_time=120
__________________
Russell P. - Server Analyst I
Mountain Dew Knight
DewKnight is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On