Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Posts
    6

    Unanswered: Need help retrieving images from db

    Hi

    I need some help in retrieving images from an ASE 12.0.
    The images (jpeg's and gif's) are stored in a field if type image.

    How can I retrieve these images from the db and store them as files on the disk? I'm using PHP, but the problem here is that simply selecting the image data from the db and storing it on disk does not work. No programs recognizes the files as images.

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    Hiya Audun,

    In your $SYBASE\$SYBASE_OCS\sample\ctlib directory, find getsend.c that is sample CT-LIB program to demonstrate TEXT/IMAGE retrieval and manipulation.

    Cheers
    Willy

Posting Permissions

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