drotiro/postpic — Issue #1: Failed inserting image with postpic using postgre 9.1 + php
Author: aris
Created: 2012-02-23 13:48:44+00:00
State: open

Hi,

I have tested a simple inserting command to the database using create_example_tables_and_funcs.sql, and this is my code:

If the code above executed, an error/warning raised:

Warning: pg_query(): Query failed: SSL SYSCALL error: EOF detected in /var/www/bplhd-olahb3/test.php on line 7 SSL SYSCALL error: EOF detected

My question:
1. What kind of error is that?
2. How can I display image from postpic using PHP? Can I just use some query like this:

select the_img from images

then I treat the result as common bytea?

regards,
-aris