From:             [EMAIL PROTECTED]
Operating system: Windows 98 SE
PHP version:      4.0.4
PHP Bug Type:     Scripting Engine problem
Bug description:  Premature end of script headers: c:/php/php.exe

Im using Apache 1.3.14. I have problem with ODBC_functions, but I dont know why, 
problems appeared without any changes in source codes (related to the ODBC_functions).

I have predefined functions for ODBC_connect, ODBC_close, ODBC_query, ODBC_Fetch_Row 
and ODBC_result (written below). 
These functions are written in library.php, which is inherited in scripts by require.

require "library.php"

When Im using my functions, php crashes whith "premature end of script headers in 
c:/php/php.exe", but when Im using normal ODBC_functions, is everything allright. 
However it has been working normally, then "something happened" and it doesnt work.

        function connect()
                @$con = ODBC_connect("MySQL","","");
                        include "error.php";
                return $con;

        function Query ($query)
                global $conn;
                return ODBC_exec($conn, $query);
        function Fetch_row ()
                global $result;
                return ODBC_Fetch_Row($result);
        function Result($field)
                global $result;
                return ODBC_Result($result, $field);

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to