Subject PHP upgrade and Blob IDs
Author Alan McDonald
I just upgraded some servers from php4 to php5.
With the popular use of parametised SPs for update and insert operations I
used the following code frequently with version 4:

$blob_id = ibase_blob_create();
ibase_blob_add($blob_id, $_POST['notes']);
$blob_id_str = ibase_blob_close($blob_id);
$contacterr = ibase_query($db->dbh,"EXECUTE PROCEDURE
CONTACT_IU(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
(int)$contactid, (int)$_POST['accountid'], (int)$_COOKIE['FK_SECCODE'],
(int)$_POST
....... <snip> ....
$_COOKIE['USERID'], null,$_COOKIE['USERID'], null, $blob_id_str);

this has all worked happilly for a few years.

Now, with php5, this is all wrong. I don't create any blob objects, I just
use the actual response string $_POST['notes'] to work with the SP.
Is the way it should be? Was I always doing something wrong?
Still running FB1.5 but it looks like FB2 will work the same. Do I never use
the ibase_blob_create function ever again?

regards
Alan McDonald