|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-01-11 16:56 UTC] lobbin@php.net
[2002-02-02 06:45 UTC] sander@php.net
[2003-08-16 10:19 UTC] abies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 06:00:02 2025 UTC |
In the following snippet, $bstr is set to some binary data, not a blob id string: - bstr is not accepted by ibase_query - on echoing bstr, the closing brace is NEVER printed - strlen( bstr ) segfaults php... --- SNIPPET START --- <? $dbh = ibase_connect( "localhost:/path/to/db/db.gdb", "user", "pass" ); $bid = ibase_blob_create( $dbh ); ibase_blob_add( $bid, "alpha" ); $bstr = ibase_blob_close( $bid ); $sql = "INSERT INTO testtable values(1,$bstr)"; ibase_query( $dbh, $sql ); ibase_close( $dbh ); ?> --- SNIPPET END ---