PHP & MySQL Tutorial 09: File Upload system with records in MySQL: Part 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,380
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 6, 2010

This tutorial goes over the concept of uploading files, and keeping records in a MySQL database. If you want to see how to implement File uploading, Mysql recording, Client IP fetching, and lists of database information, watch this video.
This includes some CSS as I notice a slight problem as I am adding a link to the info list page. So this tutorial goes over how to set up an uploading form, processing a file, creating and detecting a directory, and how to copy and move uploaded files. Check out my Tutorial site for more information, the sources, and more.

Don't forget to see Part 2!(if you miss it, you'll regret it)

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (kloplop321)

  • You don't have to put up like 10 comments and delete them to get my attention(every time it sends me an email). This file upload system should work for any file, given you don't have a filter that blocks it... What do you not see here?

  • dude can please do a tutorial storing documents life ms word of pdf...

  • @nAmeLEsSaLoNe I cannot do ms word as it is a proprietary format, PDFs have an open specification, so there are many libraries you can use to output them, fpdf.org is easier to use than the built-in functions php has.

  • @kloplop321 i mean when you upload a file .doc or pdf.. it can store it to the database and also can be download.. please help me... i need a tutorial of this,

  • @nAmeLEsSaLoNe You don't want to store such files in your Database directly, If you do, you will make backing up much harder and restoring much harder in case of database failure.

    Are you looking to make a searchable document uploader or something?

  • hey can you tell me what os is your computer

    or what operator is your computer

    like

    win 7

    xp

    vista

  • @killuaanda23 Linux.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • @kloplop321 version?

    

  • hi thanks

  • Respond to this video...  upload document

  • @kloplop321 i mean when you upload a file like .doc.. automatically store it in the database..or maybe store it in the other page maybe..

  • @kloplop321can you help ?.. how can i program a file upload that upload .doc.. or what should i do to make easy to program it ....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more