audio and video file upload

how to upload audio and video files in mysql using php

Page 1 of 1

3 Replies - 9266 Views - Last Post: 10 August 2009 - 07:44 AM Rate Topic: -----

#1 it_1  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 15
  • Joined: 10-August 09

audio and video file upload

Post icon  Posted 10 August 2009 - 04:19 AM

Hi,

now am currently struggling with to uploading audio and video files in mysql using php.am new to php coding.
please anybody say steps for how to upload the audio files and video files in database.
Is This A Good Question/Topic? 0
  • +

Replies To: audio and video file upload

#2 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: audio and video file upload

Posted 10 August 2009 - 04:30 AM

this should help you
Upload image to database
Was This Post Helpful? 0
  • +
  • -

#3 it_1  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 15
  • Joined: 10-August 09

Re: audio and video file upload

Posted 10 August 2009 - 04:44 AM

thanks for ur fast reply.

what data type i want give tio upload audio and video files in mysql now am using blob datatype in mysql.
Was This Post Helpful? 1
  • +
  • -

#4 Wimpy  Icon User is offline

  • R.I.P. ( Really Intelligent Person, right? )
  • member icon

Reputation: 159
  • View blog
  • Posts: 1,038
  • Joined: 02-May 09

Re: audio and video file upload

Posted 10 August 2009 - 07:44 AM

What datatype you should give the audio/video file or the field in the database? If you want to actually store the audio/video file in the database and not just its filepath you should go with blob, perhaps even longblob depending on the audio/video files size. Along with the blob you should also store file extension and mime type in order to output the file properly when needed! :)

View Postit_1, on 10 Aug, 2009 - 01:44 PM, said:

thanks for ur fast reply.

what data type i want give tio upload audio and video files in mysql now am using blob datatype in mysql.

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1