Bug #18163 Updated: odbc_free_result()

From: Date: Thu, 04 Jul 2002 13:23:55 +0000
Subject: Bug #18163 Updated: odbc_free_result()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13109@lists.php.net to get a copy of this message
ID: 18163 Updated by: vharms@computrain.nl Reported By: vharms@computrain.nl Status: Bogus Bug Type: ODBC related Operating System: NT4 Server PHP Version: 4.2.1 New Comment: Sorry but I thought this wasn't a question just a remark that the odbc_free_result() function doesn't do what it should according to the manual. Just disabling the display does not resolve the problem. Greetings, Victor Previous Comments: ------------------------------------------------------------------------ [2002-07-04 08:19:48] derick@php.net Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Please set the correct settings in your php.ini file: log_errors=on display_error=off (or simliar) Derick ------------------------------------------------------------------------ [2002-07-04 08:13:23] vharms@computrain.nl <?php $conn_id = odbc_connect("Events","","",SQL_CUR_USE_ODBC); $cur = odbc_exec($conn_id,"select place,name from country where subkop = '1'"); while(odbc_fetch_into($cur, $data)){ print("<option value='$data[0]'>$data[1]</option>"); } odbc_close($conn_id); odbc_free_result($conn_id); ?> When I look at the html source after running this script I see a warning saying: wrong parametercount for odbc_free_result() in <b> D:\InetPub\scripts\datainfo\city.php</b> on line <b>115</b><br> This is rather dangerous displaying the full path of the document. Somebody could take advantage of this kind of info. Greetings, Victor ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18163&edit=1

« previous php.bugs (#13109) next »