Write the code for upload a video file in PHP.How will You
Play this in Your Page.?
Answers were Sorted based on User's Feedback
Answer / sai suman
In u'r form tag keep an attribute called enc-type with
<form name="upload" id="upload" action="upload.php"
So this makes the browser to think that the form is posting
a file as data and this file is sent as chunks, the file
details will be stored in a variable called $_FILES.
In u'r php file just use move_uplode_file("$temp name,<new
Also check the max file size in php.ini while uploading
|Is This Answer Correct ?||13 Yes||10 No|
What are the basic steps to store PHP session in to Database?
Tips to optimize the php script..... Suggestion for exception handling in php...
What is a procedure in php?
what is the post and get method??
does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these concept in php?
what is code for email sending through localhost pc..?
How many ways we can give the output to a browser?
What is the diffrence between GET,POST and REQUEST Method.
Can we use include (?abc.PHP?) two times in a PHP page ?makeit.PHP??
How can we encrpt a text?
how set session expire time in php?
what is constructor in a class, how it is work, how it is call?