473,732 Members | 2,175 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with uploading larger files

24 New Member
Hey every one,

I've recently set up a site using http/php and have been studing php for a while, i've got a problem of trying to upload a video, i cam to this site, because alot of my C++ solutions have been solved here so im guesing the same with php as i've already search for my solution here, but found no answer. i'm doing it the same way you would upload an image, however after hours of searching the web, i've seen that you must change the php.ini file max file upload and ect. i have however i used the move_uploaded_f ile code and it keeps returning bad, even after i changed the ini file. and i would much rather not go into ftp, cuz i've look up how to do it but i still have yet to learn it and how to use it (apache 2.2). so if some one could learn me a new way of uploading large files with php it would be greatly appriciated.
Sep 5 '07 #1
5 1427
ak1dnar
1,584 Recognized Expert Top Contributor
Please execute the phpinfo() and postback the current configuration settings for these settings.
  • file_uploads
  • upload_max_file size
  • max_input_time
  • memory_limit
  • max_execution_t ime
  • post_max_size
Sep 5 '07 #2
ak1dnar
1,584 Recognized Expert Top Contributor
Thread Title [another Video Upload problem ] changed
Please read the FAQ's to find out how to create a good thread title.
Sep 5 '07 #3
Atli
5,058 Recognized Expert Expert
Hi and welcome to TSDN!

Are you receiving any errors?
If the uploads doesn't work you can usually find the reason behind it by looking at the $_FILES['myfile']['error'] value. Could you check that value and post it here?
Sep 5 '07 #4
Silencet
24 New Member
Ok i retried every thing today, and for an odd reason it worked, not that that's a bad thing, i'm now wondering, does it take a while for php to notice if changes have occured in the ini file? if not then i have no idea what i was doing wrong the other day
Sep 6 '07 #5
ak1dnar
1,584 Recognized Expert Top Contributor
Ok i retried every thing today, and for an odd reason it worked, not that that's a bad thing, i'm now wondering, does it take a while for php to notice if changes have occured in the ini file? if not then i have no idea what i was doing wrong the other day
It's a not a new thing for developers, It has happened to me few times. anyhow glad to hear you got it working.
Sep 6 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2139
by: renatoa | last post by:
I have an application that works fine in Windows 2000 IIS, uploading files of any size to a server folder The same application installed in a Windows 2003 IIS limits the upload size to approx 200 Kb, trying to upload larger files generates an "Operation_not_allowed" error in the web log I suppose that Microsoft introduced some limitation in either the new OS version or IIS but I'm not able to find any reference, except for the 4 Mb...
3
1867
by: Mike | last post by:
Hi i have a problem in asp.ne i am uploading file to the server using htmlinput controls and every thing is o but i try to upload larger file to the server like more than 4 mb and about 10mb i got server connection lost and time out some no responce is there any solution to that problem using asp.net and c thank
4
1895
by: msnews.microsoft.com | last post by:
Hi, I hope we can upload only files with limited size through ASP scripts(<2MB). I need to write an ASP script that can serve up to 100MB of file uploading. I have written one script(with progress bar ;-)), as my hosting won't allow me any third party upload components. Is there any way we for ASP scripts to make larger file uploads? Thanks in advance,
2
3111
by: grimBeast | last post by:
Hi I have a problem with the uploading of files larger than 1MB. My upload code look like this: If Not fUpload.PostedFile Is Nothing And fUpload.PostedFile.ContentLength > 0 Then fn = Path.GetFileName(fUpload.PostedFile.FileName) SaveLocation = Server.MapPath("hjplusupload") + "\" + fn
1
3407
by: Edijer Sarmiento | last post by:
Hi, How can I handle uploading files with sizes larger than what i have set in the maxRequestLength in my Web.Config file? Can I implement a custom handler. I've read that I can do work around usung custom HttpHandlers but I can't get it to work Thanks! Edijer
1
2610
by: Jorge Ribeiro | last post by:
Hello I've an ASP.NET Web application that has one form where the user can upload a file to be sent and saved on a database. The app sends the file via DIME attachments and SOAP envelopes to a Web Service that reads that package and records the file on a specific record in a database. It all goes well when my files are smaller than 4Mb. Files larger than that origins a error message of "File extends size limits" or something like that
15
4142
by: =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes | last post by:
Hello folks, I need some help/advice FAST. I have problems with addslashes on my web-servers. After uploading a file, I read the uploaded file, use addslashes on the read data and then insert it into a blob field in a MySQL database. The problem is that this works fine on my internal test web-server (running under RedHat 7.3). But on my production web-server (running Fedora Core 4)
2
1482
by: Zoliq | last post by:
Hi, I have a serious problem. I'm currently developing an application in which the user should upload many files (600-700 xml files). I've searched the web for a while and so far I realized that there's no way to use the HtmlInputFile class to achive the desired effect just because I can't set programatically the property of the class that stores the path of the selected file. My first approach was to write some javascript code which would...
2
1244
by: shreedhan | last post by:
Hi, I have a page for uploading pictures I have limited the file uploaded to be jpg ( and other picture types) and size upto 2 MB. Everything goes well, except when I give files larger than 8 MB (which is the post_max_size) it doesn't show any error, even if the file is of different type other than picture. It doesn't display any messages, neither success nor failure. How can I display error messages for those files ?
0
8944
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8773
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9445
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9306
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9234
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9180
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6733
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3259
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.