Re: [PHP] PHP on IIS and MS SQL 2000

2006-07-23 Thread Igor Kryltsov
Hi Frank, Thanks a lot for your reply. Just to clarify (Unix style of win commands :) ): cp php_mssql.dll php_mssql.dll.bak cp php_dblib.dll php_mssql.dll What about freetds.conf? Just touch it or it has to have something inside? Can you give an example in this case? And probably most important

Re: [PHP] PHP on IIS and MS SQL 2000

2006-07-23 Thread Frank M. Kromann
Replace php_mssql.dll with php_dblib.dll. You aæso need to create a freetds.conf file but you remove the limitations created by ntwdblib and you get a thread safe environment. - Frank > Our story is > We started building our application back in 2002 on FreeBSD/Apache with > PostgreSQL. > > T

[PHP] PHP on IIS and MS SQL 2000

2006-07-23 Thread Igor Kryltsov
Our story is We started building our application back in 2002 on FreeBSD/Apache with PostgreSQL. Than company we are working for became bigger and they bought SQL 2000 server and we had to switch to MS SQL 2000. Now company became even more bigger and they decided that keeping FreeBSD server

Re: [PHP] parse text file

2006-07-23 Thread Benjamin Adams
Thanks, fgets works great didn't know the function before. On Mon, 2006-07-24 at 01:56 +0530, Sameer N Ingole wrote: > Joe Wollard wrote: > > Benjamin, > > > > Use the file() function, it will read a file then return each line as > > a new element in an array. > > http://php.net/file > And if fil

Re: [PHP] Step by step code running

2006-07-23 Thread Robert Cummings
On Sun, 2006-07-23 at 08:51, Ryan A wrote: > Hi, > > I need to explain a script to a pal of mine but either > i cant explain it properly or he just cant get the > concept being new to php's slightly "advanced stuff" > (OO and classes, mind you...i ain't no expert myself > in this, more like Jochem

Re: [PHP] parse text file

2006-07-23 Thread Stut
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Wollard wrote: > Use the file() function, it will read a file then return each line as > a new element in an array. > http://php.net/file This will not read the file "one line at a time". Try http://php.net/fgets. - -Stut > On 7/23/06, Benjamin

Re: [PHP] parse text file

2006-07-23 Thread Sameer N Ingole
Joe Wollard wrote: Benjamin, Use the file() function, it will read a file then return each line as a new element in an array. http://php.net/file And if file is big (biiig) then you want http://php.net/fgets -- Sameer N. Ingole http://weblogic.noroot.org/ --- Better to light one candle tha

Re: [PHP] parse text file

2006-07-23 Thread Joe Wollard
Benjamin, Use the file() function, it will read a file then return each line as a new element in an array. http://php.net/file - Joe On 7/23/06, Benjamin Adams <[EMAIL PROTECTED]> wrote: how would I read a file one line at a time: something like that, I'm cofused on if I use fread, somethin

[PHP] parse text file

2006-07-23 Thread Benjamin Adams
how would I read a file one line at a time: something like that, I'm cofused on if I use fread, something which will do one line at a time? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Debugger Recommendations

2006-07-23 Thread Thiago Silva
On Sunday 23 July 2006 00:07, you wrote: > These are all ones I've looked at, except for PHPEclipse. Is it not the > case that with PHPEclipse one needs to install the Eclipse framework and > then PHPEclipse as a plug in? Yes. You have to install eclipse platform, and then, PHPEclipse plugin. >

[PHP] Step by step code running

2006-07-23 Thread Ryan A
Hi, I need to explain a script to a pal of mine but either i cant explain it properly or he just cant get the concept being new to php's slightly "advanced stuff" (OO and classes, mind you...i ain't no expert myself in this, more like Jochem's(from this list) field of expertise) I remember in my