RE: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

2008-06-19 Thread Wei, Alice J.
online, (I am not sure what year it was published), my PHP could no longer wrong. But, I will give it a shot. Alice -Original Message- From: Eric [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 3:32 AM To: PHP-WINDOWS; Wei, Alice J. Subject: Re: [PHP-WIN] MSSQL and ODBC Connection

RE: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

2008-06-18 Thread Wei, Alice J.
Sent: Wednesday, June 18, 2008 6:55 PM To: Wei, Alice J.; Zephaniah ha Levi; php-windows@lists.php.net Subject: Re: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows Hi, Could you able detail the errors ? I am prefer a method that seperate the connection steps as 1.) Could you able connectio

RE: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

2008-06-18 Thread Wei, Alice J.
Alice == Alice Wei MIS 2009 School of Library and Information Science Indiana University Bloomington [EMAIL PROTECTED] From: Zephaniah ha Levi [EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 10:53 AM To:

Re: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

2008-06-18 Thread Sascha Meyer
I would recommend using PDO for MSSQL, because it performs better in most. You have to enable both php_pdo.dll and php_pdo_mssql.dll in your php.ini, restart the web server and you should be ready to go. Here's a sample code taken from http://de.php.net/manual/en/ref.pdo-dblib.php [CODE] getMess

RE: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

2008-06-18 Thread Zephaniah ha Levi
the mssql extension is loaded in your php.ini. -Original Message- From: Wei, Alice J. [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2008 10:45 AM To: php-windows@lists.php.net Subject: [PHP-WIN] MSSQL and ODBC Connections with PHP on Windows Hi, I am a newbie using the combinatio

[PHP-WIN] MSSQL and ODBC Connections with PHP on Windows

2008-06-18 Thread Wei, Alice J.
Hi, I am a newbie using the combination of PHP and MSSQL together. Can anyone tell me which method it might be better as far as using PHP on Windows with MSSQL database on a single machine? (The PHP and MSSQL database are not set up remotely on two different servers. I have set up bot

RE: [PHP-WIN] mssql and latin characters

2008-01-22 Thread Leticia Larrosa
EMAIL PROTECTED] Sent: Tuesday, January 22, 2008 3:25 PM To: Leticia Larrosa Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] mssql and latin characters Hi Leticia, MS SQL server comes with a set of client tools that allows you to specify the encoding. There is a checkbox in the Client Network Tool

Re: [PHP-WIN] mssql and latin characters

2008-01-22 Thread Frank M. Kromann
Hi Leticia, MS SQL server comes with a set of client tools that allows you to specify the encoding. There is a checkbox in the Client Network Tool that allows you to enable/disable OEM character conversion. Flipping that for the alias you are using to connect to the database should fix the problem

[PHP-WIN] mssql and latin characters

2008-01-20 Thread Leticia Larrosa
Hello I have a MSSql 2000 database that have stored data with the follow special characters: ó, í, Ñ, á, é, ú. When I see the data through any MsSql Client I see exactly those characters. The Collation of database is: SQL_Latin1_General_CP1_CI_AS I can’t change the method of insert data in datab

Re: [PHP-WIN] MSSQL returned: Invalid object name

2007-03-24 Thread Alf Stockton
Alf Stockton wrote: Frank M. Kromann wrote: This sounds like your MSSQL connections are getting mixed up. If the two databases are on the same server and the same sql login has access to both databases you can query everything from a single conenction. You just have to qualify the tables/proce

Re: [PHP-WIN] MSSQL returned: Invalid object name

2007-03-24 Thread Alf Stockton
Frank M. Kromann wrote: This sounds like your MSSQL connections are getting mixed up. If the two databases are on the same server and the same sql login has access to both databases you can query everything from a single conenction. You just have to qualify the tables/procedures with ..table to

Re: [PHP-WIN] MSSQL returned: Invalid object name

2007-03-23 Thread Frank M. Kromann
This sounds like your MSSQL connections are getting mixed up. If the two databases are on the same server and the same sql login has access to both databases you can query everything from a single conenction. You just have to qualify the tables/procedures with ..table to the server knows where to

[PHP-WIN] MSSQL returned: Invalid object name

2007-03-23 Thread Alf Stockton
I have a php script where I need to access tables in two different MSSQL databases. The scenario is . access 1st database to retrieve data that will be used when calling a StoredProcedure within the 2nd database which will return data with which one can access the 1st database to retrieve mo

[PHP-WIN] MSSQL 6.5 IIS6 PHP 5

2007-01-06 Thread Wickham, Larry
I recently wrote a simple web script to execute a few queries against an old MS SQL 6.5 server. I developed the script on my XP box running IIS5 any user can run the script with out a problem. However when I moved it to the production box running IIS6 domain admins can run the script anyone else ge

Re: SV: SV: [PHP-WIN] mssql tcp

2005-11-16 Thread Robert Twitty
mailto:[EMAIL PROTECTED] > Skickat: den 15 november 2005 17:23 > Till: Joakim Ling > Kopia: php windows; Robert Twitty > Ämne: Re: SV: [PHP-WIN] mssql tcp > > Hi Jocke, > > Well I work with PHP and MSSQL and I know a bit about the broblems too. > The library used to build

SV: SV: SV: [PHP-WIN] mssql tcp

2005-11-16 Thread Joakim Ling
o CGI? > > // jocke > > > -Ursprungligt meddelande- > Från: Frank M. Kromann [mailto:[EMAIL PROTECTED] > Skickat: den 15 november 2005 17:23 > Till: Joakim Ling > Kopia: php windows; Robert Twitty > Ämne: Re: SV: [PHP-WIN] mssql tcp > > Hi Jocke, > > Well

Re: SV: SV: [PHP-WIN] mssql tcp

2005-11-16 Thread Frank M. Kromann
o CGI? > > // jocke > > > -Ursprungligt meddelande- > Från: Frank M. Kromann [mailto:[EMAIL PROTECTED] > Skickat: den 15 november 2005 17:23 > Till: Joakim Ling > Kopia: php windows; Robert Twitty > Ämne: Re: SV: [PHP-WIN] mssql tcp > > Hi Jocke, > > Well I work wit

SV: SV: [PHP-WIN] mssql tcp

2005-11-15 Thread Joakim Ling
: den 15 november 2005 17:23 Till: Joakim Ling Kopia: php windows; Robert Twitty Ämne: Re: SV: [PHP-WIN] mssql tcp Hi Jocke, Well I work with PHP and MSSQL and I know a bit about the broblems too. The library used to build the extension (msdblib) is not thread safe so if you are using the extension

Re: SV: [PHP-WIN] mssql tcp

2005-11-15 Thread Frank M. Kromann
Jocke > > -Ursprungligt meddelande- > Från: Robert Twitty [mailto:[EMAIL PROTECTED] > Skickat: den 15 november 2005 14:20 > Till: Joakim Ling > Kopia: php windows > Ämne: Re: [PHP-WIN] mssql tcp > > Are you using mssql_pconnect() to connect to the database?

Re: SV: [PHP-WIN] mssql tcp

2005-11-15 Thread Alf Stockton
Joakim Ling wrote: It doesn't matter, the problem lies within php. To solve this problem you have to use a client that usage pooling like ODBC -> MSSQL. So my next step is to rewrite all mssql code to ODBC. This is not a problem if you run a small mssql server, buy if you have over 100 databa

SV: [PHP-WIN] mssql tcp

2005-11-15 Thread Joakim Ling
ng Kopia: php windows Ämne: Re: [PHP-WIN] mssql tcp Are you using mssql_pconnect() to connect to the database? -- bob On Mon, 14 Nov 2005, Joakim Ling wrote: > Hi > > > > When I connect to my MSSQL server (internal) with mssql_connect, make a > few queries etc and then close the c

Re: [PHP-WIN] mssql tcp

2005-11-15 Thread Robert Twitty
Are you using mssql_pconnect() to connect to the database? -- bob On Mon, 14 Nov 2005, Joakim Ling wrote: > Hi > > > > When I connect to my MSSQL server (internal) with mssql_connect, make a > few queries etc and then close the connection link. It creates a TCP > connection each time (for every

[PHP-WIN] mssql tcp

2005-11-14 Thread Joakim Ling
Hi When I connect to my MSSQL server (internal) with mssql_connect, make a few queries etc and then close the connection link. It creates a TCP connection each time (for every query). I'm running Win 2003 STD, IIS6, PHP5, MSSQL2000. The problem is that the connection doesn't close correctly so

[PHP-WIN] mssql equivalents to mysql_errno & mysql_error

2005-09-13 Thread Alf Stockton
I have looked in the online manual but am not able to find the equivalent functions in mssql of mysql_errno() & mysql_error(). I am in the unfortunate position of having to develop using an existing MSSQL database. -- Regards, Alf Stocktonwww.stockton.co.za Lady Luck brings added

Re: [PHP-WIN] mssql functions - command line

2004-12-07 Thread Cenk Uysal
is there any other php.ini for command line execution??? --- Robert Twitty <[EMAIL PROTECTED]> wrote: > Make sure the php.ini file used by the PHP command line interpreter > has > > extension=php_mssql.dll > > The php.ini file used by PHP under Apache probably has this already > specified. You

Re: [PHP-WIN] mssql functions - command line

2004-12-07 Thread Cenk Uysal
ok, i found the answer. although i could not find the reason, u have to load php_mssql.dll dynamically from the code with following line(it is not enough to set from php.ini): dl("php_mssql.dll"); but do not forget to put the DLL in directory C:\php4 .This is the default directory for dl() fun

Re: [PHP-WIN] mssql functions - command line

2004-12-07 Thread Robert Twitty
Make sure the php.ini file used by the PHP command line interpreter has extension=php_mssql.dll The php.ini file used by PHP under Apache probably has this already specified. You can also just simply copy the php.ini for Apache over the the one used for command line execution. -- bob On Tue, 7

[PHP-WIN] mssql functions - command line

2004-12-07 Thread Cenk Uysal
hi, php: 4.3.3 apache: 1.3.24 mssql: sql 2000 server os: windows 2000 i try to run a php script from command line. it contains some mssql functions. when i call it by browser, everthing works fine. but when i call the same script from command line i get the error message: Fatal Error: Couldn't f

RE: [PHP-WIN] MSSQL inserting into a table with a valid result se t

2004-03-13 Thread Svensson, B.A.T. (HKG)
need to have the proper grants in all databases in order to do this. -Original Message- From: Robert Twitty To: Gerardo Rojas Cc: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] Sent: 12-3-2004 20:17 Subject: RE: [PHP-WIN] MSSQL inserting into a table with a valid result set Hi Gerardo

RE: [PHP-WIN] MSSQL inserting into a table with a valid result se t

2004-03-12 Thread Svensson, B.A.T. (HKG)
abase, etc, etc. -Original Message- From: Gerardo Rojas To: Svensson, B.A.T. (HKG); [EMAIL PROTECTED] Sent: 12-3-2004 19:30 Subject: RE: [PHP-WIN] MSSQL inserting into a table with a valid result set According to your last email, i can accomplish my goal, by doing: insert into tablename se

RE: [PHP-WIN] MSSQL inserting into a table with a valid result set

2004-03-12 Thread Robert Twitty
n another remote db. > > > -- > Gerardo S. Rojas > mailto: [EMAIL PROTECTED] > > > -Original Message- > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] > Sent: Friday, March 12, 2004 12:26 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] MSSQL inserti

RE: [PHP-WIN] MSSQL inserting into a table with a valid result set

2004-03-12 Thread Frank M. Kromann
> > -Original Message- > > From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 11, 2004 3:25 PM > > To: '[EMAIL PROTECTED] ' > > Subject: RE: [PHP-WIN] MSSQL inserting into a table with a valid result > > set > >

RE: [PHP-WIN] MSSQL inserting into a table with a valid result set

2004-03-12 Thread Gerardo Rojas
b and the second query (insert command) is on another remote db. -- Gerardo S. Rojas mailto: [EMAIL PROTECTED] -Original Message- From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 12:26 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] MSSQL inserting i

RE: [PHP-WIN] MSSQL inserting into a table with a valid result set

2004-03-12 Thread Svensson, B.A.T. (HKG)
rom: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 11, 2004 3:25 PM > To: '[EMAIL PROTECTED] ' > Subject: RE: [PHP-WIN] MSSQL inserting into a table with a valid result > set > > > You can do a insert into with a SELECT instead of VALUE, > b

RE: [PHP-WIN] MSSQL inserting into a table with a valid result set

2004-03-12 Thread Gerardo Rojas
Can i do a select from a PHP: resource (positive MSSQL result identifier) -- Gerardo S. Rojas mailto: [EMAIL PROTECTED] -Original Message- From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 3:25 PM To: '[EMAIL PROTECTED] ' Subject: RE: [PHP-

RE: [PHP-WIN] MSSQL inserting into a table with a valid result se t

2004-03-11 Thread Svensson, B.A.T. (HKG)
You can do a insert into with a SELECT instead of VALUE, but the attribute in the select must agree with the table definition. -Original Message- From: Gerardo Rojas To: [EMAIL PROTECTED] Sent: 11-3-2004 21:54 Subject: [PHP-WIN] MSSQL inserting into a table with a valid result set I

[PHP-WIN] MSSQL inserting into a table with a valid result set

2004-03-11 Thread Gerardo Rojas
I have a valid result set from running a simple query. Is there a way of inserting this into an existing table or creating a new table with the result set? All ideas are welcome! MSSQL Server 2000 PHP 4.3.4 Windows 2000 pro IIS 5.0 -- Gerardo S. Rojas mailto: [EMAIL PROTECTED]

Re: [PHP-WIN] mssql

2003-07-10 Thread Miha Nedok
You have to install the client libraries from the MSSQL setup CD. -Mike On Thu, 10 Jul 2003, Alain ROMERO wrote: > Date: Thu, 10 Jul 2003 14:06:20 +0200 > From: Alain ROMERO <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] mssql > > Where is mssql.dll

[PHP-WIN] mssql

2003-07-10 Thread Alain ROMERO
Where is mssql.dll (not include in packages 4.1.2 / 4.2.3 / 4.3.2 ? Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] MSSQL HELP

2003-07-03 Thread Svensson, B.A.T. (HKG)
There are two ways. In MS SQL server 7.0 you can do SELECT TOP <#> If you are on 6.5, then you need to do set the row count environ variable, e.g something like "set rowcount <#>" -Original Message- From: disko_kex To: [EMAIL PROTECTED] Sent: 2003-07-02 1

Re: [PHP-WIN] MSSQL HELP

2003-07-02 Thread Nick H.
PROTECTED]> Sent: Wednesday, July 02, 2003 12:20 PM Subject: [PHP-WIN] MSSQL HELP : In MySQL is easy to page with LIMIT but it doesnt work with MSSQL. So : how do I make it page in MSSQL? : : -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] MSSQL HELP

2003-07-02 Thread disko_kex
In MySQL is easy to page with LIMIT but it doesnt work with MSSQL. So how do I make it page in MSSQL?

[PHP-WIN] mssql unable to load dynamic library error

2002-10-16 Thread Alex
Hello all! as writen in the topic... it cant load the php_mssql.dll and i have no clue left what i did wrong its PHP 4.2.3 with IIS on NT5 Thanks in advance! Alex -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Mssql how to ??

2002-10-11 Thread Daniel Masson
Hi there ... I need to work php and mssql my version is 4.1.2 and on IIS, i figured out that to work i need de client tools instaled and add extension=php_mssql.dll in ini file, where do i get php_mssql.dll , or what is the right procedure to have mssql support ??? I have no clue .. THANKX !! A

Re: [PHP-WIN] MSSQL Date Format Problem

2002-09-17 Thread Tracker1
this is personally why I try to always use iso compliant "-mm-dd hh:nn" or "-mm-dd" Matt Kynaston wrote: > --=_NextPart_000_000D_01C25E30.61F93B80 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > PHP is supposed to output the date accordi

RE: [PHP-WIN] MSSQL Date Format Problem

2002-09-17 Thread Matt Kynaston
PHP is supposed to output the date according to the locale settings of the server - see setlocale() function to force the issue. But dates are always a pain - strtotime() and strftime() are your friends. > Incidentally, inserting a value into the databases on both > machines works > presenting th

RE: [PHP-WIN] MSSQL trouble: ansi_nulls?

2002-09-03 Thread David Hollister
connection preferences by given technology. -Original Message- From: Matt Kynaston [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 6:15 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] MSSQL trouble: ansi_nulls? OK, to answer my own question... The ansi_* settings were to blame for the

RE: [PHP-WIN] MSSQL trouble: ansi_nulls?

2002-08-30 Thread Matt Kynaston
002 10:31 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] MSSQL trouble: ansi_nulls? > > > Hi there, > > I tried posting this to the newsgroup yesterday, but it > doesn't look like it > worked - sorry if it shows up twice. > > I'm running PHP 4.2.2 under Win2K/IIS a

[PHP-WIN] MSSQL trouble: ansi_nulls?

2002-08-30 Thread Matt Kynaston
Hi there, I tried posting this to the newsgroup yesterday, but it doesn't look like it worked - sorry if it shows up twice. I'm running PHP 4.2.2 under Win2K/IIS and trying to run a stored proc in MSSQL2000 (SP2) on the same server. Exactly the same script works fine from Linux/Apache using Fre

[PHP-WIN] mssql on linux

2002-07-25 Thread Nicola Delbono
hello, any trouble connecting to MSSQL server from linux to win? I Run php on linux with freeTDS e unixODBC but there are alot lot of troubles. Every now and then I have to close and reopen connections because in pages with many queries, every qry need a new connection-.. Can't do any nested

[PHP-WIN] mssql functions not working properly

2002-07-22 Thread David Elliott
Greetings All, I posted this on Friday but now I have cut it down to make it readable and stand alone W2K server MS SQL 2000 PHP 4.2.1 (in CGI mode) I have a valid bit of SQL, but PHP does not correctly run it below is bit of code ==8<==

[PHP-WIN] MSSQL and NT Authentification

2002-07-15 Thread Gabor Niederlaender
Hi all! I went after my problem with the NT authentification and I found out, that if you want to make a NT-based Authentification (f.ex for an ODBC-Connection) the I_USR will be seen as the actual user... I granted then rights to the I_USR in the DB, but this way, I cannot distinguish which use

RE: [PHP-WIN] MSSQL connect

2001-12-26 Thread Svensson, B.A.T. (HKG)
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

Re: [PHP-WIN] MSSQL connect

2001-12-26 Thread Thomas \"omega\" Henning
, 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

RE: [PHP-WIN] MSSQL connect

2001-12-26 Thread Svensson, B.A.T. (HKG)
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

Re: [PHP-WIN] MSSQL connect

2001-12-26 Thread Thomas \"omega\" Henning
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

RE: [PHP-WIN] MSSQL connect

2001-12-24 Thread Svensson, B.A.T. (HKG)
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)

[PHP-WIN] MSSQL DB Connect

2001-12-21 Thread Jerry
Hi I have PHP on windows 2000 web server I would like to remote to a MS SQL database on another web server. I tried something like: But it didn't work. Please help me. Jerry -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP-WIN] MSSQL connect

2001-12-21 Thread Jerry
Hi I have PHP on windows 2000 web server I would like to remote to a MS SQL database on another web server. I tried something like: But it didn't work. Please help me. Jerry -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP-WIN] mssql insert weird.

2001-12-10 Thread Delbono
Hello, I have this simple query: insert into table1 ( fname) values ('test1') I use odbc_exec()all goes fine. Insert is performed. I use mssql_query(); Query returns 1, but no insert is done!!! same, db, same table, same user. Why!!? mssql_query("select * from table1")

[PHP-WIN] MSSQL 7.0 and PHP

2001-10-23 Thread Franco Breciano
I'm using php to retrieve a Query from a SQLServer 7.0 database. My code is this one: $base = mssql_select_db($db,$conexion); $sql="SELECT MarcasSolicitante FROM Marcas"; $result = mssql_query($sql,$conexion); while ($myrow = mssql_fetch_array($result)) { $mensaje= $myrow["MarcasSolici

Re: [PHP-WIN] mssql stored procedures

2001-10-02 Thread Leonard Harris
Martin, thank you for your helpful response. I tried it and it worked as you suggested. Lenny - Original Message - From: "Martin Lindhe" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 8:15 AM Subject: RE: [PHP-WIN] ms

RE: [PHP-WIN] mssql stored procedures

2001-10-02 Thread Martin Lindhe
you do that directly in a query mssql_query("exec storeprocedure_name 'parmeter1','parameter2'",$database_connection); > -Original Message- > From: Leonard Harris [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 02, 2001 1:38 PM > To: php &g

[PHP-WIN] mssql stored procedures

2001-10-02 Thread Leonard Harris
Can mssql stored procedures be invoked from php? If so, are there any unique considerations for invoking stored procedures from php? Thanks for any advice/pointers/etc. you can provide. Lenny Harris -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

RE: [PHP-WIN] MSSQL Functions

2001-08-13 Thread Flint Doungchak
g. It needs the client drivers to run properly. -Flint -Original Message- From: John Meyer [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] MSSQL Functions Just a quick question on the MSSQL functions: are they unsupported in the

[PHP-WIN] MSSQL Functions

2001-08-13 Thread John Meyer
Just a quick question on the MSSQL functions: are they unsupported in the CGI version of PHP? -- PHP Windows 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 PROTEC

RE: [PHP-WIN] MSSQL text fields truncation

2001-04-20 Thread Kelvin Luck
Hi, Thanks for the responses, hit the nail right on the head. It works perfectly now, Cheers, Kelvin. -Original Message- From: Flint Doungchak [mailto:[EMAIL PROTECTED]] Sent: 19 April 2001 19:04 To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] MSSQL t

Re: [PHP-WIN] MSSQL text fields truncation

2001-04-19 Thread Frank M. Kromann
You can set the limits in php.ini using these settings: ; Valid range 0 - 2147483647. Default = 4096. ;mssql.textlimit = 4096 ; Valid range 0 - 2147483647. Default = 4096. ;mssql.textsize = 4096 - Frank > Hi, > I've got a new problem to do with how long things can be! This time it is > from

RE: [PHP-WIN] MSSQL text fields truncation

2001-04-19 Thread Flint Doungchak
ck [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 10:46 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] MSSQL text fields truncation Hi, I've got a new problem to do with how long things can be! This time it is from a text field so I would expect there to be no limit. But my text i

[PHP-WIN] MSSQL text fields truncation

2001-04-19 Thread Kelvin Luck
Hi, I've got a new problem to do with how long things can be! This time it is from a text field so I would expect there to be no limit. But my text is being cut off after 4096 characters. I am selecting with a mssql_query and then using mssql_fetch_array to get the results. Has anyone run into thi

RE: [PHP-WIN] MSSQL varchar fields truncation revisited

2001-04-19 Thread Svensson, B.A.T.
;Cc: Josh Seward; Daniel Furse; [EMAIL PROTECTED] >Subject: [PHP-WIN] MSSQL varchar fields truncation revisited > > >I'm still using 3.0.16 and when you have to display a varchar field in a >MSSQL table everything over 255 characters gets truncated (this affects >only selects, not

RE: [PHP-WIN] mssql and php4

2001-04-19 Thread Svensson, B.A.T.
>-Original Message- >From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]] [...] >check out www.mysql.com >(or you maybe a really big bubu in your DB structure) Cutted from "www.mysql.com" "Why use MySQL? MySQL is very fast, reliable, and easy to use. If that is what you are looking fo

RE: [PHP-WIN] mssql and php4

2001-04-19 Thread Mr. Adam ALLEN.
IL PROTECTED]] > Sent: Thursday, April 19, 2001 2:37 PM > To: Tomasz Abramowicz; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] mssql and php4 > > > > > >-Original Message- > >From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]] > >

RE: [PHP-WIN] mssql and php4

2001-04-19 Thread Svensson, B.A.T.
>-Original Message- >From: Tomasz Abramowicz [mailto:[EMAIL PROTECTED]] >hihi, mssql = sux Well, that's a very intelligent and elaborated statment indeed. Regards, Anders -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: RE: [PHP-WIN] mssql and php4

2001-04-18 Thread Frank M. Kromann
l the help, > Kelvin. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 18 April 2001 15:18 > To: Kelvin Luck > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] mssql and php4 > > > >Any other ideas? > > Other fac

RE: [PHP-WIN] MSSQL varchar fields truncation revisited

2001-04-18 Thread Kelvin Luck
eland Cc: Josh Seward; Daniel Furse; [EMAIL PROTECTED] Subject: [PHP-WIN] MSSQL varchar fields truncation revisited I'm still using 3.0.16 and when you have to display a varchar field in a MSSQL table everything over 255 characters gets truncated (this affects only selects, not inserts). I k

RE: [PHP-WIN] mssql and php4

2001-04-18 Thread Kelvin Luck
e someone elses machine... Thanks for all the help, Kelvin. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18 April 2001 15:18 To: Kelvin Luck Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] mssql and php4 >Any other ideas? Other factors that could affect perfor

Re: [PHP-WIN] mssql and php4

2001-04-18 Thread joel
>Any other ideas? Other factors that could affect performance would be: Is your table indexed? How big the database is. How complex is the query in "mssql_query($getArticlesSQL)" Server cpu load. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP-WIN] mssql and php4

2001-04-18 Thread joel
>Any other ideas? Maybe you could install mysql and/or interbase on the same server as mssql. Then you could do comparison tests. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

[PHP-WIN] MSSQL varchar fields truncation revisited

2001-04-18 Thread Andrian Pervazov
I'm still using 3.0.16 and when you have to display a varchar field in a MSSQL table everything over 255 characters gets truncated (this affects only selects, not inserts). I know that a workaround would be to transform the fieldtype from varchar to text, but this isn't very practical in the parti

RE: [PHP-WIN] mssql and php4

2001-04-18 Thread Kelvin Luck
have PHP somehow set up wrong... Any other ideas? Thanks, Kelvin. -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: 18 April 2001 06:41 To: Tomasz Abramowicz Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] mssql and php4 MSSQL is actually as fast

Re: [PHP-WIN] mssql and php4

2001-04-17 Thread Frank M. Kromann
MSSQL is actually as fast (or faster) as mysql on the same hardware, but I guess you can compare the two and get the results you want. On the other hand that is not the issue ! When you are configuring MSSQL systems with server and client on two different computers you should consider using TC

Re: [PHP-WIN] mssql and php4

2001-04-17 Thread Tomasz Abramowicz
hihi, mssql = sux check out www.mysql.com (or you maybe a really big bubu in your DB structure) > Hi, > I am just starting out with php and have managed to get it running OK on my > machine (Win2K) and connecting to an MSSQL 7 database on another machine (on > my LAN). However, it seems to run r

[PHP-WIN] mssql and php4

2001-04-17 Thread Kelvin Luck
Hi, I am just starting out with php and have managed to get it running OK on my machine (Win2K) and connecting to an MSSQL 7 database on another machine (on my LAN). However, it seems to run really slowly when accessing the database. It takes around 6 seconds for my simple page to appear... At fir

Re: [PHP-WIN] MSSQL + IIS

2001-04-13 Thread Johannes Janson
schrieb im Newsbeitrag 9b5fv9$il6$[EMAIL PROTECTED]">news:9b5fv9$il6$[EMAIL PROTECTED]... > How can i use MSSQL + IIS? > i´m having some problems... > well then describe the problems. it's hard to solve one if you don't know what it is. Johannes -- PHP Windows Mailing List (http://www.php.n

[PHP-WIN] MSSQL + IIS

2001-04-12 Thread < André M.S.
How can i use MSSQL + IIS? i´m having some problems... tks -- PHP Windows 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-WIN] MSSQL Connect problems

2001-04-10 Thread Svensson, B.A.T.
t;Subject: [PHP-WIN] MSSQL Connect problems > > >Hello - > >I'm trying to debug some scripts locally before I send them to my server. >When the scripts are on the server they have no problem connecting to the >MSSQL sever, but when run from my machine I can't ge

Re: [PHP-WIN] MSSQL Connect problems

2001-04-10 Thread Nasko
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

[PHP-WIN] MSSQL Connect problems

2001-04-09 Thread Thomas W. Badera
Hello - I'm trying to debug some scripts locally before I send them to my server. When the scripts are on the server they have no problem connecting to the MSSQL sever, but when run from my machine I can't get it to establish a connection. Any thoughts? --TWB -- PHP Windows Mailing List (htt

Re: RE: [PHP-WIN] mssql and odbc functions

2001-03-01 Thread Frank M. Kromann
t; internet: http://www.suchtreffer.de > _______________ > > > > -Original Message- > From: Martin Rokicki [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 7:08 PM > To: '[EMAIL PROTECTED]

RE: [PHP-WIN] mssql and odbc functions

2001-03-01 Thread Martin Rokicki
source setup on the web serve as a system dsn. Thanks!, Martin -Original Message- From: Michael Rudel [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 1:31 PM To: Martin Rokicki; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] mssql and odbc functions Hey Martin, First Problem (mssql

RE: [PHP-WIN] mssql and odbc functions

2001-03-01 Thread Michael Rudel
7531-89207-13 e-mail: mailto:[EMAIL PROTECTED] internet: http://www.suchtreffer.de ___ -Original Message- From: Martin Rokicki [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 7:08 PM To: '[EMAIL PROTECTED]' Subj

[PHP-WIN] mssql and odbc functions

2001-03-01 Thread Martin Rokicki
Hi All, Thanks for the advice on database connectivity. I've tried connecting to the mssql server (which is running 2000 not 6.5 as I had thought) with the mssql_connect function as well as the odbc_connect function. When I run the mssql connect I use this code: MSSQL_CONNECT($host,$user,$

Re: [PHP-WIN] MSSQL Functions Again

2001-02-08 Thread Frank M. Kromann
Hi Toby, Ther is no difference in how MSSQL Server works on NT or Windows 2000. That goes for both Client and server tools. You should be able to do the same trick (copying ntwdblib.dll to winnt\system32) on a Windows 2000 maschine. You will get IIS5 on Windows 2000 where yoy have IIS4 on NT.

[PHP-WIN] MSSQL Functions Again

2001-02-08 Thread Toby Miller
Hey all, Actually, Frank might know this, but I was wondering if anyone is using the MSSQL functions on Win2000 instead of NT. If so, are you using an installation of MSSQL Server to allow your MSSQL functions to work or did you just copy the DLL's (like Frank suggested in my earlier post). I

[PHP-WIN] Re: [PHP] RE: [PHP-WIN] MSSQL Functions

2001-02-07 Thread Frank M. Kromann
ich one. If Frank see this, he >might be able to give you some detailed insight. I just know it has to be >installed. > >-Flint > >-Original Message- >From: Toby Miller [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, February 07, 2001 4:04 PM >To: [EMAIL PROTECTED];

RE: [PHP-WIN] MSSQL Functions

2001-02-07 Thread Flint Doungchak
iller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 07, 2001 4:04 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-WIN] MSSQL Functions Hey all, I've got a question about using the MSSQL Functions. The only way I've been able to use them is to install Microsoft SQL Client on

[PHP-WIN] MSSQL Functions

2001-02-07 Thread Toby Miller
Hey all, I've got a question about using the MSSQL Functions. The only way I've been able to use them is to install Microsoft SQL Client on the web server. Is there any way to get around this to use the MSSQL Functions without installing a copy of Microsoft SQL Client? Right now I am using the

Re: [PHP-WIN] mssql empty (not null) varchar fields

2001-02-06 Thread Frank M. Kromann
The PHP extension for MSSQL shoud strip leading and trailing spaces, but I check the code and fix it if there is an error. - Frank >Hello, > >>From habbit and an unexplained hate to NULLs I do not use them in my >databases. >I use varchar fields with empty strings ('') instead. >However MSSQL v

[PHP-WIN] mssql empty (not null) varchar fields

2001-02-06 Thread John Chronakis
Hello, >From habbit and an unexplained hate to NULLs I do not use them in my databases. I use varchar fields with empty strings ('') instead. However MSSQL via the php4 module, returns these values as a single space character, and it forces me to trim all the returned varchar fields, before using

  1   2   >