RE: Localhost does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, it does ot work for localhost or 127.0.0.1.
 
Although i can view the pages using http://localhost and can also create
odbc using local.

________________________________

From: Ariz Jacinto [mailto:acjacinto@xxxxxxxxx] 
Sent: Thursday, August 10, 2006 12:36 PM
To: Harpreet
Cc: php-windows@xxxxxxxxxxxxx
Subject: Re:  Localhost does not work


does 127.0.0.1 yield the same error?




On 8/10/06, Harpreet <harpreet@xxxxxxxxxxxxxxx > 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@xxxxxxxxx]
	Sent: Thursday, August 10, 2006 12:00 PM
	To: php-windows@xxxxxxxxxxxxx
	Subject: RE:  Localhost does not work
	
	Is the MySQL server located on the same machine as the Apache
machine?
	
	-----Original Message-----
	From: Harpreet [mailto: harpreet@xxxxxxxxxxxxxxx
<mailto:harpreet@xxxxxxxxxxxxxxx> ]
	Sent: Thursday, August 10, 2006 9:36 AM
	To: php-windows@xxxxxxxxxxxxx
	Subject:  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 
	
	



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux