473,396 Members | 2,017 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.

Video file Uploading

hi all,

Can any body guide me please how to upload video files using php
and how to maintain it?
Is there any thing diffrent way to upload a video files?

Regards,
poorna

Aug 28 '06 #1
6 10183
poorna wrote:
hi all,

Can any body guide me please how to upload video files using php
and how to maintain it?
Is there any thing diffrent way to upload a video files?

Regards,
poorna
Hi,

It is all well described at www.php.net:

http://nl3.php.net/manual/en/features.file-upload.php

It doesn't matter if your file contains a video or text. The uploading
logic is the same.

Good luck.

Regards,
Erwin Moller
Aug 28 '06 #2
Hi,

It is all well described at www.php.net:

http://nl3.php.net/manual/en/features.file-upload.php

It doesn't matter if your file contains a video or text. The uploading
logic is the same.

Good luck.

Regards,
Erwin Moller

hi

i checked it..
It looks like it completes the upload but when I look in the album
folders I see no videos or audio. I get no error message.
this is my problem ..
plz help me to come out from this
regards
poorna

Aug 28 '06 #3
poorna wrote:
>
>Hi,

It is all well described at www.php.net:

http://nl3.php.net/manual/en/features.file-upload.php

It doesn't matter if your file contains a video or text. The uploading
logic is the same.

Good luck.

Regards,
Erwin Moller


hi

i checked it..
It looks like it completes the upload but when I look in the album
folders I see no videos or audio. I get no error message.
Do you mean you don't see an error during the process or that no error
occurs?
Because the latter can only be tested with $_FILES['userfile']['error']

Make sure you check what is in there.

The reason fileuploads do not work can be a lot of things.
Be sure you find out WHICH step is not working.

A few common mistakes:
1) Do say in your HTML-form-definition the enctype for the form:
enctype="multipart/form-data"

2) Can PHP write to the tempdirectory?
This is where PHP stores the file when it receives it. It will be destroyed
when the script end, so it is your scripts responsibility to MOVE IT OUT
before it ends.

3) Can PHP write to the targetdirectory?
Are you sure PHP has rights to write in the targetdirectory?

Anyway, you should just debug your script, be sure you read through the
documentation, especially the 'common pitfalls' part, and also the usefull
usercontributed notes.

Regards,
Erwin Moller
this is my problem ..
plz help me to come out from this

>

regards
poorna
Aug 28 '06 #4
thanks for ur reply..

i tried to upload../
(now the KB files was uploaded)
But MB files was not uploaded...
what can i do for this??

regards
poorna

Aug 30 '06 #5
poorna wrote:
thanks for ur reply..

i tried to upload../
(now the KB files was uploaded)
But MB files was not uploaded...
what can i do for this??

regards
poorna
Hi poorna,

You probably hitted the max size for an uploaded file.
The good news: You can change the max size for an uploaded file in php.ini,
or via ini_set().

Check php.ini for: upload_max_filesize

I think it is set to 2MB standard. CHange it to what you think is more
appropriate in your situation.

You can find the directives here:
http://nl3.php.net/manual/en/ini.php

You are almost finished.

Good luck!

Regards,
Erwin Moller
Aug 30 '06 #6


thanks for your reply...
i changed the upload_max_filesize to 15m in php-ini file ...
now the video file(which is in KB size) was uploaded..
but the video file(which is in MB size) was not uploaded...
i cant to find the error..
what can i do for this??
plz help me to come out from this..
Regards
poorna

Aug 31 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: R. Rajesh Jeba Anbiah | last post by:
Q: How should I handle file upload? A: File uploading requires HTML form of content type "multipart/form-data". The file content has to be POSTed/submitted via the form and once the file is...
1
by: psb | last post by:
WHO HAS THE BEST COMPONENT FOR FILE UPLOAD? HELP!? has anyone achieved 100% success with HTTP uploading with Mac clients??? I thought the whole <input type="file" .../> was a w3c standard that...
1
by: rashish12 | last post by:
Hello All, I want to uplaod the audio/video file on server using PHP. Also want to download the same file throught the script and play that same file. I know how to uplaod the text file using...
0
by: mohitkatariya | last post by:
i want to upload and view video file on my site plz help me
0
by: pankaj mishra | last post by:
hello have any idea about how we can upload video file in web server using asp.net.here from search i found a powupload control . if any one idea about this please forward answer of this.
3
by: aratimane | last post by:
Hi, I have received the video file in chunk and want to join/merge these chunks into one video file. I have used cat command in unix for joining video, but while played that video file it...
3
ganesanji
by: ganesanji | last post by:
hi all, I have written a php coding for uploading a file to a specific folder or location in server which is a Linux server. I think the coding for file uploaing is correct. But it does not...
0
by: Raj | last post by:
Hello, I am planning to provide the Pause/Resume while uploading files. Our site is using both java applet and activex to do this. The list of selected files will be stored in an encrypted...
5
by: sonu | last post by:
hey good morning ...... how to convert a video file in .flv format in php for linux hosting......is there any package whis provide this facility . Can i use ffmpeg for linux hosting...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.