Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upload Video 1

Status
Not open for further replies.

Tr0

Programmer
Jul 12, 2007
24
US
I want to create a dynamic web form that allows an admin to browse for a video on his/her local pc and then upload that video to be displayed in a downloadable list on another public web page.

I'm a noobie to php and don't know how to approach this. Is php the best way to go? Also, are there any good tutorial sites or learning tools that anyone would recommend?

Any help would be appreciated.
Thanks
 
You can use PHP to upload the file of whatever type, including video, and then also using PHP place it on the server wherever you want. Just be warned that videos can be very large, and take a while to upload.

The display page would then read from the directory where the videos are stored and dynamically generate the drop down.

Here's a page with a tutorial for the upload.

Once you have that working you can start working on the drop-down and playing the video.

You'll need to create an upload form using HTML, and then link it to a PHP script which will take care of the upload and manipulation of the file once uploaded to the server.










----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Thanks for the link...seems like a really helpful guide.
 
You are very Welcome.


----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Remember to ask your hosting provider if you are allowed to host videos there.

Some say that it's too CPU-consuming for streaming video.
Eg. your download-script might have to promt for download and not allow streaming directly.

Olav Alexander Mjelde
Admin & Webmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top