Grabber Posted September 3, 2004 Report Share Posted September 3, 2004 Nez kāpēc nelien iekš BLOB info, kas ir lielāks par 32Kb. Kā risināt problēmu? Koda rakstība: if (isset($_POST["html_page"])) { ibase_query(sprintf("update MENU set PAGE=NULLIF('%s','') where ID=%s", ereg_replace("'", "''", $_POST["html_page"]), $_GET["menu"])); header("Location: ?".$QUERY_STRING); exit; } Link to comment Share on other sites More sharing options...
Grabber Posted September 3, 2004 Author Report Share Posted September 3, 2004 Viss, thnx, vairs nevajag. Atradu. Ja nu kaadam vēl vajag risinaat jamo saapi: $file_content = file_get_contents("test.txt"); $blob = ibase_blob_create($conn); ibase_blob_add($blob, $file_content); $encoded_blob = ibase_blob_close($blob); $stmt = ibase_prepare($conn, "INSERT INTO testblob(n1, bl) VALUES(?, ?)"); ibase_execute($stmt, 1, $encoded_blob); Tb, blobus izraadaas nevar taapat dabuut iekshaa tabulaa. Tos ir jaaizdzen cauri speciaalai funkcijai. Link to comment Share on other sites More sharing options...
Recommended Posts