We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,676 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

video upload

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

11
Contributors
11
Replies
3 Years
Discussion Span
1 Year Ago
Last Updated
13
Views
ryan_vietnow
Posting Pro
578 posts since Aug 2007
Reputation Points: 28
Solved Threads: 71
Skill Endorsements: 0

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: 13
Skill Endorsements: 0

ok,thanks I got it now.

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

sir how to upload video in php language

rajlaxmi sharma
Newbie Poster
4 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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
549 posts since Sep 2009
Reputation Points: 35
Solved Threads: 36
Skill Endorsements: 0

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
Skill Endorsements: 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: 260
Skill Endorsements: 13

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
Skill Endorsements: 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
Skill Endorsements: 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
Skill Endorsements: 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
Skill Endorsements: 0

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
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0915 seconds using 2.71MB