Connecting Tech Pros Worldwide Forums | Help | Site Map

Video file Uploading

poorna
Guest
 
Posts: n/a
#1: Aug 28 '06
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


Erwin Moller
Guest
 
Posts: n/a
#2: Aug 28 '06

re: Video file Uploading


poorna wrote:
Quote:
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
poorna
Guest
 
Posts: n/a
#3: Aug 28 '06

re: Video file Uploading


Quote:
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

Erwin Moller
Guest
 
Posts: n/a
#4: Aug 28 '06

re: Video file Uploading


poorna wrote:
Quote:
>
Quote:
>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


Quote:
this is my problem ..
plz help me to come out from this

Quote:
>
>
regards
poorna
poorna
Guest
 
Posts: n/a
#5: Aug 30 '06

re: Video file Uploading


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

Erwin Moller
Guest
 
Posts: n/a
#6: Aug 30 '06

re: Video file Uploading


poorna wrote:
Quote:
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
poorna
Guest
 
Posts: n/a
#7: Aug 31 '06

re: Video file Uploading




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

Closed Thread