Quantcast
Channel: Microsoft Drivers for PHP for SQL Server forum
Browsing all 391 articles
Browse latest View live

MVC CodeIgniter send data from model to view

Hello everyone! :-) I'm working with CodeIgniter (PHP Framework MVC) and SQLSRV drivers on a WAMP environment. I have a problem when I try to send sqlsrv_fetch_array() to my view... After installing...

View Article


Asked connection sql server with php

Hello I have a php version 5.2.4, install and enable SQLSRV20.EXE and the library in php.ini, but not if I am allowed to connect to sql server that is on another computer, the wampserver I have it on...

View Article


sqlsrv_errors() function does not get all errors/warnings

Hi. I´m using version 2.0  of the driver, PHP 5.2.6 version on Apache 2.2.8 version and SQL Server 2008 Standard Edition I was testing the sqlsrv_errors() function to get the next result: I have...

View Article

Author Missing from query and pagination incorrect

Hi, for the most part everything has been working wonderfully, but recently I found three issues. Configuration: IIS 7.5PHP 5.3.14 VC9 x86SQL Server 2008 R2 (different server)SQL 2008 Native...

View Article

Unable to load Library

Hi, I've got Apache 2.2.22 with PHP 5.4.5 and want to load the "php_sqlsrv" library. But if I start the Apache Deamon I've got an error: PHP Warning:  PHP Startup: Unable to load dynamic library...

View Article


PHP SQLSERVER database project every few days interface cannot access!

PHP SQLSERVER database project every few days interface cannot access, access interface error 502 Bad Gateway. The start is a database connection interface can not access, a static page cannot be...

View Article

Strange behaviour - differences between http://localhost and...

Hello together, the SQL Server Driver for PHP drives me crazy. I've got a Windows Server 2003 and a IIS6.0 running on it. My Server connects to a SQL Server 2005. I've got the Native Client 2008...

View Article

SQLSTATE[07002]: [Microsoft][SQL Server Native Client 10.0]COUNT field...

Hi, The problem comes from using a placeholder multiple times in a query... I never had this with other DB systems. Here is an example to reproduce the error : This code finds any reservation in...

View Article


Best way to handle large result set (+400 000 rows)

Hi, I started to migrate our old components from the old php_mssql.dll driver to SQLSRV 3. I've a lot of large result set (~400 000 rows output to CSV file). With the old driver I was using the...

View Article


php no mssql. Couldn't connect sqlsrv_connect with PHP 5.4.5

Good morning, I have installed Windows 2008 Server with IIS 7.5 and PHP Version 5.4.5. This compiled with VC9. On this server I have also installed Sharepoint connecting to SQL Server 2008 on another...

View Article

PDOException: SQLSTATE[IMSSP]: error occurred translating string to UCS-2,...

Greetings, I recently started setting up a drupal 7 website on Azure cloud using a web role and SQL azure backend. I was very much pleased until I hit a character set brickwall. I have a virtual...

View Article

Install SQL Server Native Client 2012 on SQL Server 2005

I download the drivers for SQL Server to connect with PHP form this link: http://www.microsoft.com/en-us/download/details.aspx?id=20098 It says that I need SQL Server 2012 Native Client, so I went to...

View Article

PHP 5.4.5 on Win 2008 R2 and SQL Server 2000

Hi, We are planning to move quite a bit system (about 700K lines) working on PHP 5.1.6 with Frank Kromann php_dblib.dll on Win 2000 and SQL 2000 to Win 2008 R2. Later planning to switch DB from 2000 to...

View Article


HELP WITH CODEIGNITER AND SQL SERVER

I wanna conect to a diferents servers with a data base in sql server, and i'm trying to conect php(CodeIgniter) + (sql server 2000 and 2005) in my pc  I'm using "CodeIgniter_2.1.0" + "SQL Server...

View Article

SQL Server Connection timing out

Just installed PHP/IIS on a fresh 2008 server installation.  However, I'm having trouble connecting to my SQL2005 database server.  I have good connectivity, and can connect via the Management Studio....

View Article


sqlsrv_errors contain invalid type -> Using PHP custom session handling

Hi. PHP spits out this if I try to connect to a SQL Server 2005 server in session handling functions:PHP Fatal error: sqlsrv_errors contains an invalid type in (path)/session.php on line 29Line 29 is...

View Article

Instal PHP 5.4.6 on IIS 7 to work with MS SQL 2008

Many people are asking here for a help how to install this combination. As an appreciation for a help I received in this forum I decided to describe our way and I hope it will help others. Additional...

View Article


recuperando parametros OUT

hola estoy usando el driver de microsof  en codeignaiter y no puedo recuperar el valor del parametro de salida $error = "hola"; $query = $this->db->query("USP_CODEIGNITER_DEMO ?,?,?", array(...

View Article

An invalid parameter was passed to sqlsrv_query

Hi all, I have installed php 5.3.13 on a Web Role (windows Azure) and it uses sql azure as database. Following is my code: dbConnectDB.php --------------------------- $uid = myid@myserver;$pwd =...

View Article

Couldn't connect sqlsrv_connect with PHP 5.4.4

Hi, I'm trying to configure the SQL Server driver to run on PHP 5.4.4, I downloaded the package Drivers 3.0 (my SQL Server is 2008). I set up Apache and PHP.ini started properly, without generating...

View Article
Browsing all 391 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>