Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-17-2002, 09:13 AM   #1
LQ Newbie
Registered: Dec 2002
Posts: 3

Rep: Reputation: 0
i can upload file that is greater than 1MB

ok people, i have big problem, solution for this problem i am trying to find around the world already 2 weeks.
this problem i am trying to

some days ago on in bug forum one people was described similar problem and in last
his post , he was writed that squid has solved his problem

today i have installed squid and my squid was configured normally, with squid i can upload files without problems, i can upload files or large or small. But now i am understanding that it is not a right solut ion.

if some peoples that uses my php skripts one day want to upload big files they must to specify my proxy adress, no it is not right and at this moment i am deleteed my squid for all times.

i now that you now tell me that my php.ini is wrong !!!!!
ok this is my upload settings of php.ini

file_uploads = on ;(on)
upload_max_filesize = 50M ;50 megabytes
upload_tmp_dir = /dir1/tmp/ ;dir1 - linux root dir
post_max_size = 100M ;100 megabytes
max_execution_time = 6000 ;
memory_limit = 8M ;8megabytes

i think that this settings are correct !!!!, php.ini is visible in php directive
configuration file

i only try to download 3Mb file, and when file that i want to upload is greater than 1MB
i got the error

( in LOG files = 'index forbidden by rule' )
( in HTML , 'page could not be displayed')
( in Linux i got the error : connection to host 'blabla' is broken)

this is a code that is used for uploading...








<body style="MARGIN: 0pt" bgcolor="#1940B1">

__<form enctype='multipart/form-data' method='post'>

___<input type='hidden' name='MAX_FILE_SIZE' value='20000000'>

___<input name='userfile' type='file'>

___<input type='submit' value='submit'>





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 not edit your posts

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
upload 4-5MB/s, download ~1MB/s, redhat 9.0 2.4.20-8 (maybe hdd-related problem) tine Linux - Networking 0 09-13-2004 07:44 AM
Cant upload a file bigger then 1mb with php OrangeLefty Programming 1 04-19-2004 01:54 AM
File Upload through SSH kanagaraj Linux - Software 5 09-26-2003 01:59 PM
i cannot trough SQUID upload more than 1MB, WHY? :( marconi8 Linux - General 0 12-17-2002 04:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration