[PHP-DB] MS SQL error...I've come a long way to get this far

2008-12-08 Thread Fred Silsbee
many changes to php.ini to get this far..whew! PHP 5.2.7 just got jerked out from underneathe me (I have't replaced it since this is a simple script) phpinfo works! \ or // , when using a non default port number $server = 'LANDON\SQLEXPRESS'; $link = mssql_connect($server, 'sa', 'PW');

[PHP-DB] MS SQL and client encoding

2008-11-28 Thread Fanda
Hi, please, how can I set client encoding for MS SQL server from php? I did not find any working solution. :-( Database: windows-1250 Web and app: UTF-8 Thanks Fanda -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Ms Sql stored procedures with parameters

2006-01-04 Thread Robert Twitty
Hane you tried $result = mssql_query("EXEC getSomeCoolData '061451221', NULL, NULL" ); Also, did you try mssql_init()? -- bob On Wed, 4 Jan 2006, meska wrote: > Hi, > > I've done it in various ways, still, no luck.. > > Lets say i have a stored procedure getSomeCoolData declared as : > > [getS

[PHP-DB] Ms Sql stored procedures with parameters

2006-01-04 Thread meska
Hi, I've done it in various ways, still, no luck.. Lets say i have a stored procedure getSomeCoolData declared as : [getSomeCoolData] @prodCode char(255), @prodName nvarchar(255), @prodID int = NULL This stored procedure returns products based on parameters i pass. So let's say i do like this

Re: [PHP-DB] MS-SQL server connection

2004-03-08 Thread Frank M. Kromann
Hi Rafi, You need to install (and configure) the SQL Server Client tools. The important part here is the 'Client Network Utility' where you create aliases for host names, protocols and other options. The default setting for both the SQL server and the client is (in most cases) to use named pipes

[PHP-DB] MS-SQL server connection

2004-03-08 Thread Rafi Sheikh
I am trying to create a connection w' MS-SQL Server to use with php. I have the server name (on our LAN) and my UID & PWD (work via MS-ODBC driver for Access db). However my php is failing to bring any data back (unknown host). Any suggestions if I am missing any parms? [I am a newbie so plz

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-22 Thread Michael Flanagan
ite so stupid as when I'm trying to be quite so smart! Thanks for sticking with me on this one. Michael -Original Message- From: Robert Twitty [mailto:[EMAIL PROTECTED] Sent: Sunday, February 22, 2004 6:38 PM To: Michael Flanagan Cc: Php-Db Subject: RE: [PHP-DB] MS SQL 'C

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-22 Thread Robert Twitty
&$errorString) > { > // Get info, based on the $select query > $result = $db->query($select); > if (DB::isError($result)) { > $errorString .= $result->getMessage() . > $result->getDebugInfo (); > return FALSE; > } > re

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-22 Thread Michael Flanagan
= $result->getMessage() . $result->getDebugInfo (); return FALSE; } return $result; } -----Original Message- From: Robert Twitty [mailto:[EMAIL PROTECTED] Sent: Sunday, February 22, 2004 2:49 PM To: Michael Flanagan Cc: Php-Db Subject: RE: [PHP-DB] MS SQL 'Cha

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-22 Thread Robert Twitty
am I doing wrong? If so, how can I get around this? > Thanks! > > Michael > > -Original Message- > From: Frank M. Kromann [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 21, 2004 7:40 PM > To: Php-Db > Subject: RE: [PHP-DB] MS SQL 'Changed database contex

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-21 Thread Michael Flanagan
So, is this a PEAR problem? If not, what am I doing wrong? If so, how can I get around this? Thanks! Michael -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Saturday, February 21, 2004 7:40 PM To: Php-Db Subject: RE: [PHP-DB] MS SQL 'Changed database c

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-21 Thread Frank M. Kromann
Twitty [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 5:38 PM > To: Michael Flanagan > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-DB] MS SQL 'Changed database context' error > > > Hi Michael > > You might get better results using the odbtp ex

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-20 Thread Adam Voigt
> the > > exact same $db connection object. > > > > Any ideas on getting PHP to ignore this info message? > > > > Thanks again. > > Michael > > > > -Original Message- > > From: Adam Voigt [mailto:[EMAIL PROTECTED] > > Sent: Thursday

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Robert Twitty
PM > To: Michael Flanagan > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-DB] MS SQL 'Changed database context' error > > > Hi Michael > > You might get better results using the odbtp extension with support for > the mssql functions. Since you are using Windows,

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Michael Flanagan
obert Twitty [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:38 PM To: Michael Flanagan Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] MS SQL 'Changed database context' error Hi Michael You might get better results using the odbtp extension with support for the mssql function

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Robert Twitty
ork? > mssql.min_error_severity = 11 > mssql.min_message_severity = 11 > > Michael > > -Original Message- > From: Adam Voigt [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 12:44 PM > To: Michael Flanagan > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-DB] MS SQL &#

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Michael Flanagan
severity levels, and their interplay with MS SQL Server?? Thanks. Michael -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:07 PM To: Michael Flanagan Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] MS SQL 'Changed database context' e

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Frank M. Kromann
ork? > mssql.min_error_severity = 11 > mssql.min_message_severity = 11 > > Michael > > -Original Message- > From: Adam Voigt [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 19, 2004 12:44 PM > To: Michael Flanagan > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-DB]

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Michael Flanagan
don't work? mssql.min_error_severity = 11 mssql.min_message_severity = 11 Michael -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 12:44 PM To: Michael Flanagan Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] MS SQL 'Changed database context&

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Adam Voigt
; Sent: Thursday, February 19, 2004 12:13 PM > To: Michael Flanagan > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] MS SQL 'Changed database context' error > > > This may not be the case, but I've seen this before when the PHP library > didn't know how to exp

RE: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Michael Flanagan
lto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 12:13 PM To: Michael Flanagan Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] MS SQL 'Changed database context' error This may not be the case, but I've seen this before when the PHP library didn't know how to express MS SQL's e

Re: [PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Adam Voigt
This may not be the case, but I've seen this before when the PHP library didn't know how to express MS SQL's error, so it simply returns the last message sent which was the informational context change. If it is infact an error, you should be able to plug the query directly into Enterprise Manager

[PHP-DB] MS SQL 'Changed database context' error

2004-02-19 Thread Michael Flanagan
I'm getting the error "Changed database context" from MS SQL. I see where this is supposedly just an informational message. I've tried setting mssql.min_error_severity = 11 mssql.min_message_severity = 11 but to no avail. What am I missing? I don't mind the message so much, but php treats thi

[PHP-DB] MS SQL Server Question

2004-01-27 Thread Ryan Jameson (USA)
This doesn't have anything to do with PHP, but it does have to do with MS SQL server and I know we've got a buncha smart folks on this list. I'm sure you'll forgive the slightly OT post. I have a stored procedure that I want to protect from external rollback calls. Basically, it logs calls to itse

Re: [PHP-DB] MS SQL date time strangeness

2004-01-27 Thread Robert Twitty
Oops Use "Off" instead of "On", or execute this in your script: ini_set('mssql.datetimeconvert' , 0 ); Note: Do not use the date() function to display the value. Just display it "asis". -- bob On Tue, 27 Jan 2004, Steve wrote: > I tried what you had suggested and I still get the same result.

Re: [PHP-DB] MS SQL date time strangeness

2004-01-27 Thread Steve
I tried what you had suggested and I still get the same result. Robert Twitty wrote: The date() is for use with the 32-bit C time value returned by functions like time(). Data from fields of type datetime are returned as strings in the form Jan 9 2004 by the mssql extension as the default. To

Re: [PHP-DB] MS SQL date time strangeness

2004-01-26 Thread Robert Twitty
The date() is for use with the 32-bit C time value returned by functions like time(). Data from fields of type datetime are returned as strings in the form Jan 9 2004 by the mssql extension as the default. To return it using ISO format set mssql.datetimeconvert to "On" in the php.ini file, or use

[PHP-DB] MS SQL date time strangeness

2004-01-26 Thread Steve
I have Apache 1.3 and PHP 4 running on Windows 98 connecting to a local MS SQL 7.0 server. MS SQL has the date as 2004-01-09 (-MM-DD), when I print the date to a webpage with this PHP code: printf("Date Picked Up: %s\nDate", date("Y/j/n",$row[0]); I get this output: 1969/12/31 What is wr

[PHP-DB] MS-SQL 2000 weird problem

2003-09-15 Thread Martin Greco
Hi everyone. I have a Redhat 8 box with Apache 2.0.40, PHP 4.3.1, FreeTDS 0.61 to work with an MS-SQL2000 server. It works fine and I have no problems but today i found this. When i call specific stored procedures it retrieve no rows, and if i paste this query on the Query Analizer it works fine

Re: [PHP-DB] MS-SQL => Exec stored procedures

2003-07-16 Thread Stephen March
Thanks for the immediate response... it turns out my co-worker actually had a bug in his stored proc ... (nobody ever admits the problem is their own eh?) hehe ~Steve [EMAIL PROTECTED] wrote: my experience in the past is just: $SQL = "sp_runthis $param1, $param2, $param3"; $RES = mysql_que

Re: [PHP-DB] MS-SQL => Exec stored procedures

2003-07-16 Thread colbey
my experience in the past is just: $SQL = "sp_runthis $param1, $param2, $param3"; $RES = mysql_query($SQL); may have to prefix with exec like you mentioned... change sp_runthis to your procedure name... probably still works the same.. On Wed, 16 Jul 2003, Stephen March wrote: > Anybody ha

[PHP-DB] MS-SQL => Exec stored procedures

2003-07-16 Thread Stephen March
Anybody have code that WORKS (hehe) for executing a MS-SQL stored proceedure through PHP? exec viewFacilities() Thanks in advance! ~Steve -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] MS-SQL Connection Problem

2003-07-02 Thread Martin Weber
Hi, I'm using MS-SQL-Server (MSDE, ServicePack 3), with Apache 1.3.27 PHP/4.3.1 completely under Windows 2000. My task is, to build an installation package, which installs MSDE, Apache and PHP and some PHP-code on arbitrary Windows 2000 systems. Currently my installation package is running. It

Re: [PHP-DB] MS-SQL date format problem

2003-05-28 Thread Peter Misun
as Robert and me observed (from source code) - that switch isn't there in 4.1.2 after installing 4.3.1 there is no problem with date format - switch is working 5o Robert Twitty wrote: > I don't have access to the source code for PHP 4.1.2, but I would not be > suprised if this was the case.

RE: [PHP-DB] ms sql limit equivalence

2003-01-24 Thread Grant, Dean (OIT)
PROTECTED]] Sent: Thursday, January 23, 2003 8:21 PM To: Grant, Dean (OIT); [EMAIL PROTECTED] Subject: RE: [PHP-DB] ms sql limit equivalence > I am just joining this list so if this has been covered in the past I > apologize. I am working with MS SQL and would like the functionalit

RE: [PHP-DB] ms sql limit equivalence

2003-01-23 Thread John W. Holmes
> I am just joining this list so if this has been covered in the past I > apologize. I am working with MS SQL and would like the functionality that > MySQL's limit function provides. I understand that MS SQL has no such > command or equivalent. Has someone found a way to use standard (or MS SQL >

Re: [PHP-DB] ms sql limit equivalence

2003-01-23 Thread Jeffrey_N_Dyke
b.ca> Subject: [PHP-DB] ms sql limit equivalence

[PHP-DB] ms sql limit equivalence

2003-01-23 Thread Grant, Dean (OIT)
Hi, I am just joining this list so if this has been covered in the past I apologize. I am working with MS SQL and would like the functionality that MySQL's limit function provides. I understand that MS SQL has no such command or equivalent. Has someone found a way to use standard (or MS SQL spe

RE: [PHP-DB] MS Sql Server xp_sqlagent_proxy_account

2002-07-12 Thread Ryan Jameson (USA)
12, 2002 9:57 AM To: php.db Subject: [PHP-DB] MS Sql Server xp_sqlagent_proxy_account exec master.dbo.xp_sqlagent_proxy_account N'GET' Anyone ever had the above give you "Access is denied." When you run it as 'sa' ??? <>< Ryan -- PHP Database Mailing

[PHP-DB] MS Sql Server xp_sqlagent_proxy_account

2002-07-12 Thread Ryan Jameson (USA)
exec master.dbo.xp_sqlagent_proxy_account N'GET' Anyone ever had the above give you "Access is denied." When you run it as 'sa' ??? <>< Ryan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] MS SQL connect

2002-03-28 Thread CID
I'm trying to connect to an MS SQL Server but I'll receive permanetly this message: Warning: MS SQL message: Login failed for user 'mirela'. Reason: Not associated with a trusted SQL Server connection. (severity 14) in d:\inetpub\wwwroot\roslocal\registrums.php on line 24 Warning: MS SQL: Unable

[PHP-DB] MS SQL problem with php

2002-03-12 Thread Daniel Ryhle
I run MS SQL 2000 on a win 2k machine and IIS5. On this i have installed php4.11 with php_mssql.dll support. When i do an insert query it works fine. But my problem is with SELECT querys. If i write a select query and run it on a table that is empty it works fine. BUT if i put an entry into the

[PHP-DB] MS SQL Server 7

2002-02-13 Thread Todd WIlliamsen
I am trying to get PHP to work with MS SQL Server 7, but its not liking something when I do a mssql_connect() it says " Fatal error: Call to undefined function: mssql_connect() in c:\inetpub\wwwroot\test.php on line 7 I have added the proper extensions, have put them in the right directory. S

Re: [PHP-DB] Ms SQL.

2001-11-22 Thread Bruno Gimenes Pereti
tting off-topic, let's continue in pvt. When we get the solution you can send it back to the list. Bruno. - Original Message - From: "Matt Lemon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 2:30 PM Subject: Re: [PHP-DB] Ms

Re: [PHP-DB] Ms SQL.

2001-11-22 Thread Gustavo Carreno
> 2 options: > - compile php with mssql support (might be ./configure --with-mssql ...) or > - if you installed from packet (rpm for example) you can install the packet > for mssql (it should be something like php_mssql.version.rpm) Okey, on http://www.php.net/manual/en/function.mssql-connect.php

Re: [PHP-DB] Ms SQL.

2001-11-22 Thread Matt Lemon
reti. > > - Original Message - > From: "Matt Lemon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 22, 2001 3:08 PM > Subject: [PHP-DB] Ms SQL. > > >> I'm trying to get my linux server to connect to an MS

Re: [PHP-DB] Ms SQL.

2001-11-22 Thread Bruno Gimenes Pereti
like php_mssql.version.rpm) Bruno Gimenes Pereti. - Original Message - From: "Matt Lemon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 3:08 PM Subject: [PHP-DB] Ms SQL. > I'm trying to get my linux server to connect to an MS SQL

[PHP-DB] Ms SQL.

2001-11-22 Thread Matt Lemon
I'm trying to get my linux server to connect to an MS SQL server via php. If I run the same script on my windows laptop there is no problem but on the Linux server I get the message : Fatal error: Call to undefined function: mssql_connect() in /var/www/html/stationary/index.php on line 49 I

RE: [PHP-DB] MS SQL Server support

2001-11-19 Thread Richard Hillström (GIS)
//Richard -Original Message- From: Daniel Persson [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 2:35 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] MS SQL Server support I got this error message when using PHP 4.06 with MSSQL. PHP ERROR: PHP build incomplete: the prerequisite MS SQL Serv

[PHP-DB] MS SQL Server support

2001-11-19 Thread Daniel Persson
I got this error message when using PHP 4.06 with MSSQL. PHP ERROR: PHP build incomplete: the prerequisite MS SQL Server support required to read the alert database was not built into PHP. Please recompile PHP with the necessary library (--enable-mssql). Is there anyone who knows what's wrong?

Re: [PHP-DB] MS SQL 7

2001-10-04 Thread Ermanno Iannacci
Date : Thu, 04 Oct 2001 12:17:18 -0700 > Subject : Re: [PHP-DB] MS SQL 7 > > If your storred procedure returns a result set you can get it with the mssql_functions as well. > > If the precedure returns values or output parameters you will need php 4.0.7 (or current cvs). The updated

Re: [PHP-DB] MS SQL 7

2001-10-04 Thread Frank M. Kromann
If your storred procedure returns a result set you can get it with the mssql_functions as well. If the precedure returns values or output parameters you will need php 4.0.7 (or current cvs). The updated version of php_mssql.dll includes three new functions aimed for storred procedures. - Fran

[PHP-DB] MS SQL 7

2001-10-04 Thread Ouster
Is there a way to retrieve records from a stored procedure with MS SQL 7? I've tried but I couldn't get anything. I read on the PHP bug site that I can only use SELECT statement, but ODBC should work; is that true? Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mai

RE: [PHP-DB] MS SQL connect by ODBC

2001-08-09 Thread Andrew Hill
ology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Data Integration Technology Providers > -Original Message- > From: Sommai Fongnamthip [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 08, 2001 10:33 PM > To: [EMAIL PROTECTED] > Subject:

[PHP-DB] MS SQL connect by ODBC

2001-08-08 Thread Sommai Fongnamthip
Hi, Did someone ever connect PHP (on Linux box) to MS SQL (on NT box) via ODBC (iODBC or unixODBC)? How to config and writing code in PHP? thanks SF -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP-DB] MS-SQL, PHP, IIS

2001-08-07 Thread Thomas Winkler
Hi., I'm currently using an IIS5 (W2k) with php4.0.6 (CGI) and MS SQL Server 2000. I've run into problems when fetching fileds of the type datetime from the database. When using the MS SQL Query Analyzer I get my dates formated like this out of my database: 2001-06-08 08:14:40.000 When using php

RE: [PHP-DB] MS SQL 6.5 connection

2001-08-07 Thread Mark Roedel
> -Original Message- > From: Sommai Fongnamthip [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 07, 2001 4:00 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] MS SQL 6.5 connection > > > I've been setting PHP 4.0.6 with apache 1.3.20 in Linux > Red H

[PHP-DB] MS SQL 6.5 connection

2001-08-07 Thread Sommai Fongnamthip
Hi, I've been setting PHP 4.0.6 with apache 1.3.20 in Linux Red Hat 6.2 to connect MS SQL 6.5 via TDS4.2 (freetds-0.51). Why I can't connect to MS SQL 6.5? here my code in php here is freetds config SQLSERVER query tcp tds4.2 203.144.255.71 1443 master tcp tds4.2 203

RE: [PHP-DB] ms sql connect

2001-08-06 Thread Mark Roedel
> -Original Message- > From: Sommai Fongnamthip [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 06, 2001 2:45 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] ms sql connect > > > Hello, > I'd like to use MS SQL 6.5 on NT from PHP-4.0.6 from Linux. >

[PHP-DB] ms sql connect

2001-08-06 Thread Sommai Fongnamthip
Hello, I'd like to use MS SQL 6.5 on NT from PHP-4.0.6 from Linux. I was config FreeTDS (use ver 4.2) and setup interfaces file already. I'm still cannot login to MS SQL 6.5. Here is my config. - Linux Red Hat 6.2 (use different IP with NT-Box) - Apache 1.3.

[PHP-DB] MS SQL datetime format problem

2001-07-24 Thread Brian Weisenthal
Hi, I am having trouble setting a datetime in a ms sql database. I can put in a date, but when I add the time i always get an error. this is likely something simple, any thoughts? thanks --Brian -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP-DB] MS SQL DB-Libraries

2001-07-17 Thread Sean Richards
What are these magical MS SQL DB-libraries and where can they be found? Thank you, Sean ::Sean Richards ::www.sharpwebinnovations.com ::web hosting and applications development -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: [PHP-DB] MS-SQL Server on PHP4/Apache/Linux

2001-04-23 Thread Andrew Hill
L PROTECTED]] > Sent: Monday, April 23, 2001 8:18 AM > To: Manuel Prieur; PHP-DB > Subject: Re: [PHP-DB] MS-SQL Server on PHP4/Apache/Linux > > > > I currently use PHP4/IIS to access a MS-SQLServer 7.0 with "mssql_*" > > functions ("php_mssql70.dll" extensio

Re: [PHP-DB] MS-SQL Server on PHP4/Apache/Linux

2001-04-23 Thread fabrizio . ermini
> I currently use PHP4/IIS to access a MS-SQLServer 7.0 with "mssql_*" > functions ("php_mssql70.dll" extension). > > I plan to move my website on PHP4/Apache/Linux, and I am wondering if thoses > functions will work and how, as I didn't find any explanations on it in > documentation. > I think

[PHP-DB] MS-SQL Server on PHP4/Apache/Linux

2001-04-23 Thread Manuel Prieur
Hello, I currently use PHP4/IIS to access a MS-SQLServer 7.0 with "mssql_*" functions ("php_mssql70.dll" extension). I plan to move my website on PHP4/Apache/Linux, and I am wondering if thoses functions will work and how, as I didn't find any explanations on it in documentation. Thanks. ===

[PHP-DB] MS SQL server 2k and php4 on win32

2001-04-08 Thread alarion
Well, I just started working on implementing SQL Server support in my database abstraction class. I downloaded and installed the SQL2k evaluation from MS and I can connect through DBArtisan and through the SQL Server Query tool. However when I try to do it through PHP, it just sits there, and caus

RE: [PHP-DB] Ms SQL Server inserting image datatype with PHP??

2001-03-08 Thread Leavell Digital Design
8, 2001 2:13 PM ---> To: [EMAIL PROTECTED] ---> Subject: [PHP-DB] Ms SQL Server inserting image datatype with PHP?? ---> ---> ---> How can I accomplish this?? ---> ---> ---> ---> -- ---> PHP Database Mailing List (http://www.php.net/) ---> To unsubscribe, e-m

[PHP-DB] Ms SQL Server inserting image datatype with PHP??

2001-03-08 Thread j. vos
How can I accomplish this?? -- 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] Ms SQL on Linux with PHP4.04pl1

2001-02-13 Thread Sean Hare
I'm having trouble compiling my new PHP4 module with apache 1.3.17 using freetds to connect to a Microsoft SQL server. There's a great article out on PHPBuilder for an older version of PHP4 complete with patches, but I wanted to build this new box with the latest revs of code. Has anyone else at

AW: [PHP-DB] MS-SQL Error Message Replacement

2001-01-24 Thread Matthias Kopolt
So you like to let the SQL check for those constraints and you want only the PHP to deal with that ugly error: - disable the error output by placing @ before your php-function - catch the error either by checking $php_errormsg (works only if error-tracking is enabled) or by the result code or

Re: [PHP-DB] MS-SQL Error Message Replacement

2001-01-24 Thread Andreas Karajannis
[EMAIL PROTECTED] wrote: > How can I put in my own custom message when these errors occur? > Should I be looking for a failed query message and then acting on > that? I like the protection that the foreign key relationship > enables, because you can't delete "parent" objects without >

RE: [PHP-DB] MS-SQL Error Message Replacement

2001-01-24 Thread Alarion
, 2001 7:22 PM To: [EMAIL PROTECTED] Subject:[PHP-DB] MS-SQL Error Message Replacement I'm working with MS-SQL 7 and IIS 4 as well as PHP4.0.4 --- My question is that when a message is received while attempting to delete a row in [table x] while it is tied to [table y.column a]

[PHP-DB] MS-SQL Error Message Replacement

2001-01-24 Thread ryan . sinn
I'm working with MS-SQL 7 and IIS 4 as well as PHP4.0.4 --- My question is that when a message is received while attempting to delete a row in [table x] while it is tied to [table y.column a] by a foreign key relationship [see below] Warning: MS SQL message: DELETE statement conflicted with COLU