diff options
Diffstat (limited to 'tests/odbc-display.php')
-rw-r--r-- | tests/odbc-display.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/odbc-display.php b/tests/odbc-display.php deleted file mode 100644 index f79a854aea..0000000000 --- a/tests/odbc-display.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - if(($conn = odbc_connect($dsn, $dbuser, $dbpwd))){ - if(($res = odbc_do($conn, "select gif from php_test where id='$id'"))){ - odbc_binmode($res, 0); - odbc_longreadlen($res, 0); - if(odbc_fetch_row($res)){ - header("content-type: image/gif"); - odbc_result($res, 1); - exit; - }else{ - echo "Error in odbc_fetch_row"; - } - } else { - echo "Error in odbc_do"; - } - } else { - echo "Error in odbc_connect"; - } -?> |