forum.rastrnet.ru

forum.rastrnet.ru (http://forum.rastrnet.ru/index.php)
-   Техническая библиотека (http://forum.rastrnet.ru/forumdisplay.php?f=105)
-   -   Microsoft SQL server 2000 и PHP (http://forum.rastrnet.ru/showthread.php?t=23762)

Format c:/ 29.10.2006 18:17

Microsoft SQL server 2000 и PHP
 
ИСЧУ ТАЛМУТЫ ПО РАБОТЕ через ПХП с мелкософтным эскуэлем

Paul 29.10.2006 19:34

А чего не понятно то? Так же как и для mysql есть коллекция функций (библиотека) и для mssql.
Вот, из манула:
Цитата:

Microsoft SQL Server Functions
Introduction
These functions allow you to access MS SQL Server database.

Requirements
Requirements for Win32 platforms.

The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying ntwdblib.dll from \winnt\system32 on the server to \winnt\system32 on the PHP box. Copying ntwdblib.dll will only provide access. Configuration of the client will require installation of all the tools.

Requirements for Unix/Linux platforms.

To use the MSSQL extension on Unix/Linux, you first need to build and install the FreeTDS library. Source code and installation instructions are available at the FreeTDS home page: » http://www.freetds.org/

Note:
In Windows, the DBLIB from Microsoft is used. Functions that return a column name are based on the dbcolname() function in DBLIB. DBLIB was developed for SQL Server 6.x where the max identifier length is 30. For this reason, the maximum column length is 30 characters. On platforms where FreeTDS is used (Linux), this is not a problem.

Installation
The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini.

To get these functions to work, you have to compile PHP with --with-mssql[=DIR], where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib.
Как видите, нужно лишь бибку подключить.


Кароче, усе есть в мануале php.

Format c:/ 29.10.2006 22:00

ну подрубил я её уже давно а как теперь мне работать я ни одной функции не знаю !

Paul 30.10.2006 00:51

мануал по php

Format c:/ 30.10.2006 19:50

по подробнее где ?

Paul 30.10.2006 21:33

Где? Берешь php manual, лучше в chm, там идешь в раздел
Function Reference -> Microsoft SQL Server Function

Мануал можно, например, взять здесь:
*9/incoming/book/doc/php/php_manual_chm.zip


Текущее время: 11:59. Часовой пояс GMT +7.

Powered by vBulletin® Version 3.8.4 Patch Level 5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot

Форум открыт в июле 2004 г.