What the heck are you talking about?
>-Original Message-
>From: Thomas "omega" Henning [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, December 26, 2001 7:50 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
>[EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] MSSQL conne
, almost literary quoting my
> answer, and then pinpointing down things I already pointed out! Moron...
>
> >From: Thomas "omega" Henning
> >Sent: Wednesday, December 26, 2001 8:50 AM
> >To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> >[EMAIL PROTECTED]
> >Su
ROTECTED]
>Subject: Re: [PHP-WIN] MSSQL connect
>
>
>$h = "server adr"; //don't forget 2 change this
>$u = "user"; //don't forget 2 chage this
>$p = "passw"; //don't forget 2 change this
>$b = "db"; //don
Here is the problem $sql != $sql_temp
so the $result = NULL; because mssql_query(" ") has no query to send to the
MsSQL server.
This should work try it out!!!
Thomas "omega" Henning
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
From: Jerry [mailto:[EMAIL PROTECTED]]
>I tried something like:
>
>$h = "server adr";
>$u = "user";
>$p = "passw";
>$b = "db";
>$connexion = mssql_connect("$h", "$u", "$p");
Why do you uses quotes here?
>mssql_select_db($b);
>$sql = "select * from test";
.
>$result = mssql_query($sql_temp)
First: what method are you using to connect? ODBC?
IF you are using ODBC, then you might check weather you are using named
pipes or
not to connect to the server. If named pipes not work, change to TCP/IP -
some
times named pipes are not allowed because of security reasons.
Second, it might be re
Is it the same DB server you're trying to connect to from locally run
scripts that you connect when the scripts are run from your hosting
server?
It does matter, because my hosting company for example has forbidden
any access to their DB servers for IP addresses different from the
addresses their