Re: Localhost does not work
| From: | Ariz Jacinto | Date: | Thu, 10 Aug 2006 16:36:14 +0000 |
| Subject: | Re: Localhost does not work | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27097@lists.php.net to get a copy of this message | ||
does 127.0.0.1 yield the same error?
On 8/10/06, Harpreet <harpreet@crispincorp.com> wrote:
I am using sql server 2005 and apache. And yes they r on both the machines. -----Original Message----- From: John Meyer [mailto:john.l.meyer@gmail.com] Sent: Thursday, August 10, 2006 12:00 PM To: php-windows@lists.php.net Subject: RE: [PHP-WIN] Localhost does not work Is the MySQL server located on the same machine as the Apache machine? -----Original Message----- From: Harpreet [mailto:harpreet@crispincorp.com] Sent: Thursday, August 10, 2006 9:36 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Localhost does not work $con = mssql_connect('localhost','username','password') Does not work but $con = mssql_connect($_GET["HOSTNAME"],'username','password') works fine. Please help To unsubscribe, visit: http://www.php.net/unsub.php