954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

video upload

hey guys,does anyone here know some tutorial on how to upload video files?tutorial in Adobe is quite confusing.Thanks..

ryan_vietnow
Posting Pro
578 posts since Aug 2007
Reputation Points: 28
Solved Threads: 71
 

it's as simple as uploading other files.
If you know how to upload other type of files, then you know this also.
try saerching for uploading file using php/html and/or asp.net/html.

good luck.

mostafadotnet
Junior Poster
157 posts since Jul 2006
Reputation Points: 55
Solved Threads: 11
 

ok,thanks I got it now.

ryan_vietnow
Posting Pro
578 posts since Aug 2007
Reputation Points: 28
Solved Threads: 71
 

sir how to upload video in php language

rajlaxmi sharma
Newbie Poster
4 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
 
<input type="file" name="video">

php code for upload

$ss=mkdir("videos/",0777);
		$uploaddir="videos/";
		$filetype=$_FILES[video][type];
		$filename=$_FILES[video][name];
		$realpath=$uploaddir.$filename;
		if(!empty($filetype)) 
		{	 
			move_uploaded_file($_FILES['video']['tmp_name'],$realpath ) ;
			
		}
muralikalpana
Posting Pro
540 posts since Sep 2009
Reputation Points: 21
Solved Threads: 36
 

I can not upload video file with PHP in my server but it work's fine in localhost.
I fix the max_upload_filesize is 60M.

What's the problem?Please help me......

amit_kuetcse2k5
Newbie Poster
7 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

Put this into your html form to allow the user to upload more than the browser can normally handle.

<input type="hidden" name="MAX_FILE_SIZE" value="60000000" />
<input type="file" name="video">
cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

Good day to all IT professionals...I'm currently developing a Social networking Site
for our school and it is exclusive for our school only. can you help me by giving me a tip on how to start with my project and where to start also....thank you so much

diovanne
Newbie Poster
3 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

how can i save the message in the inbox. and the sent messages in the sent items.can you give me a php code for this? thank you

diovanne
Newbie Poster
3 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

how to insert the chat system to my page using ajax?

diovanne
Newbie Poster
3 posts since Jan 2011
Reputation Points: 10
Solved Threads: 0
 

Hi,
The following code will guide you to upload video files.

//get the size of the video
<?php
$size=filesize($_FILES['video']['tmp_name']);



//compare the size with the maxim size we defined and print error if bigger

if ($size > MAX_SIZE*1024)

{

echo '<h1>You have exceeded the size limit!</h1>';

$errors=1;

}



//give the video a unique name in case a video already exists with the name on the server

$video_name=time().'.'.$extension;



//assign a folder to save the video to on your server

$newname="video/".$video_name;



//verify that the video has been loaded

$copied = copy($_FILES['video']['tmp_name'], $newname);

if (!$copied) 

{

echo '<h1>Copy unsuccessful!</h1>';

$errors=1;

}}}}



//If no errors registered, print the success message

if(isset($_POST['Submit']) && !$errors) 

{

echo "<h1>File Uploaded Successfully! Try again!</h1>";

}



?>
Bestwebdesign
Newbie Poster
8 posts since Jan 2011
Reputation Points: 10
Solved Threads: 1
 

hi
format field of table in sql (database - phpmyadmin )for video ???
varchar (10000) : 1mb
for 6 mb ??? what format ?

mina gharache
Newbie Poster
2 posts since Jul 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You