473,396 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Problem with uploading larger files

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_file 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 1411
ak1dnar
1,584 Expert 1GB
Please execute the phpinfo() and postback the current configuration settings for these settings.
  • file_uploads
  • upload_max_filesize
  • max_input_time
  • memory_limit
  • max_execution_time
  • post_max_size
Sep 5 '07 #2
ak1dnar
1,584 Expert 1GB
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 Expert 4TB
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
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 Expert 1GB
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
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...
3
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...
4
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...
2
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 =...
1
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...
1
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...
15
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...
2
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.