Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th September 2009, 00:50
belmont1964 belmont1964 is offline
Junior Member
 
Join Date: Sep 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not able to upload 100Kb or more file size to my PHP web site.

Hello everybody, I am new to linux and I have successfully download and install Ubuntu, PHP 5, and ISPConfig. I have been playing with the ISPConfig. I have my own URL address, and my DNS is up and running. I have started to play with creating PHP webpages.
I created a simple upload webpage so I can upload files to my server. My first issue was the folder rights permissions. I figure out that proplem.
My new problem is that I get a error level 2 (means file to large) when I try to upload anything 100kb or more. I can upload successful when my file is 99kb or less.
I get error 2 from my line in my code
echo “error is : “ . basename( $_FILES['myupload']['error']);
and it get my PHP configuration info with this code
echo phpinfo(INFO_CONFIGURATION);
In this phpinfo() I get
upload_max_filesize = 1024M - in my local value and my master value.
file_uploads = on - in my local value and my master value.
post_max_size = 1024M - in my local value and my master value.
I try other computer and get the same problem.
I do not know is this a ISPConfig issue or PHP issue. I am lost!! Anybody have any ideals?

Thank you in advance
Belmont
Reply With Quote
Sponsored Links
  #2  
Old 14th September 2009, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I guess that's a limitation in the PHP script that you're using. Please take a look at its source code.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th September 2009, 13:59
belmont belmont is offline
Junior Member
 
Join Date: Jul 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Late last night I found out that it must be FireFox. I upload last night a 4 Gb file in my Internet Explorer but I still can not upload any file that is 100 Kb or more. I can upload a file that is less then 100 Kb in FireFox. Now I know that this is not a PHP or ISPConfig problem. If anybody has any Idea on why only FireFox browser would not upload files larger than 100 Kb, I appreciate any idea.

Thank You
Reply With Quote
  #4  
Old 15th September 2009, 14:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Maybe it's a problem with a Firefox plugin. You can try to disable all plugins and see if it works then.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
PHP code for PHPMyAdmin is not parsed parkerj Installation/Configuration 3 26th May 2009 13:40
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Debian3.1 | PHP Binary planet_fox Installation/Configuration 2 26th September 2006 00:52
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 13:42


All times are GMT +2. The time now is 04:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.