> Thomas Mammen wrote:
>
> scenario:
> 1. i have postgresql running on linux machine and apache on windows.
>
> 2. i am saving all my php files in windows system.
>
> now i am trying
> $con_string = "dbname=spamtrack port=5432 user=postgres
> password=postgres host=192.168.1.145";
> $connection = pg_connect($con_string);
>
> this is giving an error can you please guide me to get the solution
The solution is simple, do everything right and it will work.
Okay, I take my first guess (assuming I have 3 guesses before I'm out):
The error message says something like "connection refused"?
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #