Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11

    Default Re: access as database php


    How are you storing the image? It would be better to save the path (which I think you do) instead of storing the actual image data, and you don't need to worry about what data type should a backend have.

    How are you displaying the image? What control are you using? Is the field bound?


    Back to topic, I don't think there was a native PHP driver. You need to use ODBC (or OLEDB Jet) which someone already responded.

    As to not using it, unfortunately Access is not very good in multi-user scenario. It also does not gracefully exit in its transactions therefore it is prone to corruption. I can't imagine a multi-threaded application connecting to Access, imagine a text file with 5 users simultaneously overwriting each other (I know, exaggeration). There maybe ways to handle this issue like creating multiple databases and handle the transaction management as part of your application BUT it is not worth the effort as that is what real database servers (MSSQL, MySQL, PostGre, etc.) are for
    nindot na nga algorithm bro..just get the path of the image.. i agree on that

  2. #12

    Default Re: access as database php

    Quote Originally Posted by ISDA_SA_BATO View Post
    nindot na nga algorithm bro..just get the path of the image.. i agree on that
    OT: absolute path ang gamit ana?

  3. #13

    Default Re: access as database php

    Quote Originally Posted by -_- View Post
    OT: absolute path ang gamit ana?
    OT: Relative path to prepare for future file system changes and you can have root folders set in the program or maybe tied to your business entity, etc. anyway you want it to. (This deserves a different thread btw).

  4. #14

    Default Re: access as database php

    blob datatypes ang akong nasuwayan gamit bai for storing images in the database..

  5. #15

    Default Re: access as database php

    nka suway ko bro na save na nko ang image sa database nko... ang akoa prob nalang kay dli mn ma preview ang image inig open nko sa akoa front end ang naa ddto kay link ra sa image...
    sample... search ko sa akoa name: ma view pd ddto akoa image dli lng ang link..

  6. #16

    Default Re: access as database php

    ang BLOB(Binary Large Object) datatypes bai ky d mana isave ang URL.. ang image man jd ang isave ana nya.. nakasulay ko bai nga nagstore ug nagretrieve ko sa image..

  7.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. For Sale: Behringer nr100 good as new php 1900.00
    By ohoixmakoi in forum Music & Movies
    Replies: 3
    Last Post: 01-12-2013, 04:22 PM
  2. Joomla using MS Access as database, pls help!
    By techguys in forum Websites & Multimedia
    Replies: 10
    Last Post: 02-11-2010, 09:43 PM
  3. How to Use ms access as database in C#
    By reyarita in forum Programming
    Replies: 3
    Last Post: 01-27-2010, 04:22 PM
  4. Looking For: a job as a php programmer
    By markytrigger in forum Jobs
    Replies: 9
    Last Post: 12-08-2009, 06:47 PM
  5. Replies: 0
    Last Post: 09-09-2009, 11:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top