ID: 33524 User updated by: gonzalo at livra dot com Reported By: gonzalo at livra dot com Status: Bogus Bug Type: MSSQL related Operating System: WIN 2K PHP Version: 4.3.10 New Comment:
ok thanks! i will try to contact people who makes "mssql" library Previous Comments: ------------------------------------------------------------------------ [2005-06-30 16:45:22] [EMAIL PROTECTED] PHP doesn't do any referse lookups. If the underlying library does them (and it's slow for you), that's definitely not PHP problem and we can't fix it. ------------------------------------------------------------------------ [2005-06-30 16:36:12] gonzalo at livra dot com Description: ------------ Using mysql_connect, or mysql_pconnect to an IP address, it takes too much time! (4 seconds to connect!)..it could be an reverse lookup problem...if u add an entry on "Hosts" file, and u reference to this entry, it fly! (like pelanne says in his post: http://ar2.php.net/manual/es/function.mssql-connect.php#53620) Reproduce code: --------------- $link = mssql_connect("10.0.0.1,1044", "user", "Pass"); Expected result: ---------------- the same result, but faster Actual result: -------------- slow connection :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33524&edit=1