note 46895 rejected from function.odbc-connect by betz

From: Date: Wed, 27 Oct 2004 11:01:41 +0000
Subject: note 46895 rejected from function.odbc-connect by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79166@lists.php.net to get a copy of this message
Note Submitter: ian dot mcghee at richardlawson dot com ---- Hi i am trying to use php to connect to an IBM AS400 system i can connect but it seems to take ages to return any information. it appears to be trying to make a new connection each time. i am using the following to connect. <? $host = "LAWSON01"; $username = "*******"; $password = "********"; $link = odbc_pconnect($host, $username, $password,SQL_CUR_USE_ODBC) or die (odbc_errormsg() ); ?> is there anyway i can improve this as users will not use the system with a 10 - 15 second delay before each page is displayed.

« previous php.notes (#79166) next »