Jump to content

Uploading videos


Urbley

Recommended Posts

I know this has probably been covered a thousand times but here's my problem.  I'm making an admin section for an online e-learning application.  I want the "tutor" or administrator to be able to upload a video file.  Normally between 3-5mb.  Using html forms with POST just does not seem to work on files this size.

 

I also want to strip out just the file name and insert the filename i.e. myVideo.wmv and insert it into the database so another php script can access the video file at a later time.  The inserting into database is a problem.  But what's the best way to strip the filename i.e. c:\..\...\.....\...\myVideo.wmv to just the file name and what's the easiest way to upload the file?

 

A coded answer would be excellent but a finger pointing in the right direction would be just as good.

 

Steve

Link to comment
https://forums.phpfreaks.com/topic/44971-uploading-videos/
Share on other sites

It's set to 20mb.  I really don't know how to go about simply uploading this script, pulling the name off and storing it in a database.  I can do the database stuff but as for taking the whole string i.e.

 

c:\whatever\whatever\myvideo.flv and stripping it to just myvideo.flv... I don't know!  :(

 

using HTML post just seems to timeout no matter what I do. I was sure to include ENCTYPE="multipart/form-data" in the form tag though.

 

Does anyone have any ideas that could help me out?

Link to comment
https://forums.phpfreaks.com/topic/44971-uploading-videos/#findComment-220761
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.