Re: [PHP-DB] MSSQL.DLL <-> MSSQL70.DLL ?

2001-10-29 Thread Hace

On Fri, 19 Oct 2001 10:26:14 +0200, [EMAIL PROTECTED] (Thorsten Hock)
wrote:

>Sorry, natürlich benutze auch ich mssql_connect(). Der Zugriff funktioniert
>aber leider nur, wenn sich der SQL-Server und der WEB-Server auf dem
>gleichen Host befinden. Ein Zugriff über das Internet auf einen anderen
>Server ist nicht möglich. Und genau das ist mein Problem.

Seems I do not have that problem with our intranet.

We have installed PHP on two different W2000/IIS5 servers.

On both servers, MSSQL2000 is also installed and we use PHP4.06 with
the php_mssql.dll. We can connect both databases from both servers by
using the servername, or by using the IP-address of the servername.

BTW: If you want to connect to an MSSQL server over the internet, you
might want to make sure you make use of some secure connection, like
make use of PPTP, tunneling?

Cheers,

-- 
  http://hace.dyndns.org/ 
  Everything I say is my own opinion and not necessarily that of my employer.


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] MSSQL.DLL <-> MSSQL70.DLL ?

2001-10-19 Thread Thorsten Hock

Sorry, natürlich benutze auch ich mssql_connect(). Der Zugriff funktioniert
aber leider nur, wenn sich der SQL-Server und der WEB-Server auf dem
gleichen Host befinden. Ein Zugriff über das Internet auf einen anderen
Server ist nicht möglich. Und genau das ist mein Problem.

Thorsten Hock
([EMAIL PROTECTED])


"Jens Wichmann" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:<9qolca$d44$[EMAIL PROTECTED]>...
> Hallo,
> die php_mssql70.dll ist veraltet,
> alle funktionen sind in der php_mssql.dll enthalten
> die du mit der Ver. 4.0.6 mit geliefert bekommst.
>
> gegenfrage, wo hast du den befehl mssql_open() denn her?
> der servr wir doch mit mssql_connect() geöffnet um dann mit
> mssql_select_db() die db auszuwählen.
>
> mache es bei mir jedenfalls so und es klappt hervorragend.
> nachzulesen unter
> http://www.php.net/manual/de/function.mssql-select-db.php
>
> Jens
>
>
> Thorsten Hock <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
> 9qohjf$qr1$[EMAIL PROTECTED]
> > Hi,
> >
> > ich habe bei mir die PHP-Version 4.0.6 installiert. Allerdings finde ich
> die
> > in der Dokumentation erwähnte php_mssql70.dll nicht, sondern nur eine
> > php_mssql.dll. Welches ist denn nun die richtige um auf den SQL-Server
> > Version 7.0 zuzugreifen ?
> >
> > Wie greift mssql_open() auf die Datenbank zu ? Named Pipes, TCP/IP,
> Welcher
> > Port ? Meine Firewall zeigt keinen Zugriffsversuch auf Port 1433 an wenn
> ich
> > die extension php_mssql.dll aktiviere und mssql_open() aufrufe .
> > Irgendwelche Ideen, Links oder Ratschläge ?
> >
> > Vielen Dank für Eure Mühe,
> > Thorsten Hock
> > ([EMAIL PROTECTED])
>

"Jens Wichmann" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:9qolca$d44$[EMAIL PROTECTED]...
> Hallo,
> die php_mssql70.dll ist veraltet,
> alle funktionen sind in der php_mssql.dll enthalten
> die du mit der Ver. 4.0.6 mit geliefert bekommst.
>
> gegenfrage, wo hast du den befehl mssql_open() denn her?
> der servr wir doch mit mssql_connect() geöffnet um dann mit
> mssql_select_db() die db auszuwählen.
>
> mache es bei mir jedenfalls so und es klappt hervorragend.
> nachzulesen unter
> http://www.php.net/manual/de/function.mssql-select-db.php
>
> Jens
>
>
> Thorsten Hock <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
> 9qohjf$qr1$[EMAIL PROTECTED]
> > Hi,
> >
> > ich habe bei mir die PHP-Version 4.0.6 installiert. Allerdings finde ich
> die
> > in der Dokumentation erwähnte php_mssql70.dll nicht, sondern nur eine
> > php_mssql.dll. Welches ist denn nun die richtige um auf den SQL-Server
> > Version 7.0 zuzugreifen ?
> >
> > Wie greift mssql_open() auf die Datenbank zu ? Named Pipes, TCP/IP,
> Welcher
> > Port ? Meine Firewall zeigt keinen Zugriffsversuch auf Port 1433 an wenn
> ich
> > die extension php_mssql.dll aktiviere und mssql_open() aufrufe .
> > Irgendwelche Ideen, Links oder Ratschläge ?
> >
> > Vielen Dank für Eure Mühe,
> > Thorsten Hock
> > ([EMAIL PROTECTED])
>
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] MSSQL.DLL <-> MSSQL70.DLL ?

2001-10-19 Thread Paco Ortiz

Hi,

>I need to access my MS-SQL-Sever V7.0. In a lot of messages I the extension
>php_mssql70.dll is mentioned, but the latest release of php is shipped with
>php_mssql.dll instead. Is that okay ?

it's the same, just try to check your php.ini [extensions] block, to reflect the
exact name of your dll.

>The use of the mssql_open() function fails every time and my firewall log
>doesn't show any access at all on port 1433 (neither a deny not an allow).
>How does the mssql_open() function tries to establish the link ? Via TCP/IP
>on port 1433 ? Do I have to add the port information to the hostname by
>myself ?

this is configured at the web server, at control panel, 
ODBC settings, looking at client configuration. That's where you 
establish access to "mysqlserver" via tcp/ip, named pipes, and so on.
Usually you have "Named Pipes" by default towards some server,
and php just tries to use that system-wide setting.

Greetings,

F.J. Ortiz

10/19/01 9:55:21 AM, "Thorsten Hock" <[EMAIL PROTECTED]> wrote:

>Hi !
>
>I need to access my MS-SQL-Sever V7.0. In a lot of messages I the extension
>php_mssql70.dll is mentioned, but the latest release of php is shipped with
>php_mssql.dll instead. Is that okay ?
>
>The use of the mssql_open() function fails every time and my firewall log
>doesn't show any access at all on port 1433 (neither a deny not an allow).
>How does the mssql_open() function tries to establish the link ? Via TCP/IP
>on port 1433 ? Do I have to add the port information to the hostname by
>myself ?
>
>I really would appreciate any help or hint on this topic.
>
>Thorsten Hock
>([EMAIL PROTECTED])
>
>
>
>
>
>-- 
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>

___
Francisco Javier Ortiz Torre
ComuNET,S.A.
mailto:[EMAIL PROTECTED]

ComuNET, S.A
Gral. Concha 39,6º
48012 Bilbao España
Tel: +34 944 700 101 
Fax: +34 944 700 185 
http://www.comunet.es
___



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] MSSQL.DLL <-> MSSQL70.DLL ?

2001-10-19 Thread Thorsten Hock

Hi !

I need to access my MS-SQL-Sever V7.0. In a lot of messages I the extension
php_mssql70.dll is mentioned, but the latest release of php is shipped with
php_mssql.dll instead. Is that okay ?

The use of the mssql_open() function fails every time and my firewall log
doesn't show any access at all on port 1433 (neither a deny not an allow).
How does the mssql_open() function tries to establish the link ? Via TCP/IP
on port 1433 ? Do I have to add the port information to the hostname by
myself ?

I really would appreciate any help or hint on this topic.

Thorsten Hock
([EMAIL PROTECTED])





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]