
21/02/2003, 15:05
|
 | | | Fecha de Ingreso: noviembre-2002 Ubicación: el bar de la esquina
Mensajes: 609
Antigüedad: 22 años, 4 meses Puntos: 2 | |
Gracias por la respuesta pero en ventana.php como pregunto si existe o no la imagen este es mi codigo
<?php
$id = "$NUM_FIR";
$FileErr = "C:\Inetpub\wwwroot\phptest\funcionarios\error.png ";
$StringQuery = "select * from mitabla_cliente where cql_recno=$id";
$ConnectServerID = odbc_connect( $ServerName, sa, sa);
if( $ConnectServerID ) {
$ResultQueryID = odbc_do( $ConnectServerID, $StringQuery);
if( $ResultQueryID > 0 ) {
$datrec = odbc_result( $ResultQueryID, "dat_rec");
// header("Content-type: image/png");
echo $datrec;
}
odbc_free_result( $ResultQueryID );
odbc_close( $ConnectServerID );
}
?>
Salu2 |