|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-04 08:19 UTC] derick@php.net
[2002-07-04 09:23 UTC] vharms at computrain dot nl
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 13:00:01 2025 UTC |
<?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