hey guys,does anyone here know some tutorial on how to upload video files?tutorial in Adobe is quite confusing.Thanks..
1 Year Ago
Related Article:Upload Script Help
is a PHP discussion thread by mrexp21 that has 8 replies, was last updated 2 years ago and has been tagged with the keywords: coding, modify, php, programming, script, upload.
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
The following code will guide you to upload video files.
//get the size of the video
//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>';
//give the video a unique name in case a video already exists with the name on the server
//assign a folder to save the video to on your server
//verify that the video has been loaded
$copied = copy($_FILES['video']['tmp_name'], $newname);
echo '<h1>Copy unsuccessful!</h1>';
//If no errors registered, print the success message
if(isset($_POST['Submit']) && !$errors)
echo "<h1>File Uploaded Successfully! Try again!</h1>";