SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard nofel's Avatar
    Join Date
    Aug 2007
    Location
    Earth
    Posts
    1,766
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question Uploading and reteriving pictures from database?

    Hey all,
    can anyone tell me or refer me to tutorial in which it shows how to dislay pictures saved on server using database?

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2008
    Posts
    172
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.php-mysql-tutorial.com/php-mysql-upload.php

    I really suggest not going with this approach though. I recommend uploading the images to your file system on the server, and adding a record to your db as to its location. Speeds up retrieval, makes it so you can easily download the images yourself, and can be handy for a few other things.

    EDIT

    I see now he also goes on to show that method.

    http://www.php-mysql-tutorial.com/up...ile-server.php


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •