Re: [PHP4BETA] binary data

From: Date: Tue, 28 Dec 1999 06:02:15 +0000
Subject: Re: [PHP4BETA] binary data
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8574@lists.php.net to get a copy of this message
On Mon, Dec 27, 1999 at 10:24:36PM -0500, Chad Cunningham wrote: > > Can anyone point out an example of how to work with binary data in an > extension? It appears that all the other db's either don't have BLOB > support or work like MySQL where it's just inserted normally. What I > need to do is write the binary data to the server and return a handle to > reference it in queries using: > > FBCBlobHandle* fbcdcWriteBLOB(FBCDatabaseConnection* self, void* > blobData, unsigned blobDataLength); > > What I'm not understanding is how arbitrary binary data would get passed > to my function and how I would get retrieve it for use in the above > function. This could be simple, but my mind is kinda fuzzy right now :) What's wrong with using Zend's datatype string? -- Regards, Sascha Schumann Consultant

« previous php.version4 (#8574) next »