RE: [PHP-DB] Windows XP and PHP

2004-02-08 Thread Robert Twitty
A better solution for connecting to SQL Server is the php_odbtp_mssql.dll extension available at http://odbtp.sourceforge.net. The reason why is because the php_mssql.dll was built using DB-Library, which is obsolete and unsupported by Microsoft. This is why ntwdblib.dll is not in MDAC, and conta

RE: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Duane Lakoduk
> > I had this bookmarked too, and I had forgotten about it. Would > installing the MDAC Microsoft have on their site install the > ntwdblib.dll? > I just checked php-4.3.4-WIN32.zip and ntwdblib.dll is in there. Drop it in your extensions directory and make sure the line: extension=php_mss

RE: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Duane Lakoduk
> > I had this bookmarked too, and I had forgotten about it. Would > installing the MDAC Microsoft have on their site install the > ntwdblib.dll? > Don't think so, I have current MDAC installed and it is not on my ws. I just found this on: http://www.php.net/function.mssql-connect

Re: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Steve
Duane Lakoduk wrote: I installed Apache/Perl/PHP onto a Windows XP machine today and ran into this problem when I tried to access the MS SQL Server via PHP: "can't load dynamic library php_mssql.dll" The dll is in the extensions directory. Apache is running fine. Any ideas, on what might be

RE: [PHP-DB] Windows XP and PHP

2004-02-07 Thread Duane Lakoduk
> > I installed Apache/Perl/PHP onto a Windows XP machine today > and ran into > this problem when I tried to access the MS SQL Server via PHP: > > "can't load dynamic library php_mssql.dll" > > The dll is in the extensions directory. Apache is running fine. Any > ideas, on what might be wro

Re: [PHP-DB] Windows XP

2002-08-20 Thread Gerard Samuel
Just a note for others who went through what I did, and a note of thanks. Regranting and flushing privileges, make everything run smooth for me. :) Joni Järvinen wrote: >Hi. > >Try re-GRANTing the rights for user 'crash' and after you've done that, >run 'flush PRIVILIGES'. Atleast on my winxp

Re: [PHP-DB] Windows XP

2002-08-19 Thread Miles Thompson
Gerard, No need for an apology, but what permissions do you have set on the FreeBSD box? Quite frankly I'd have to haul out all the stuff on MySQL security and re-read it. Maybe that would be a good place to start, particularly if there are different methods/base requirements for XP and BSD. (

Re: [PHP-DB] Windows XP

2002-08-19 Thread Joni Järvinen
Hi. Try re-GRANTing the rights for user 'crash' and after you've done that, run 'flush PRIVILIGES'. Atleast on my winxp box it does the trick. -Joni- -- // Joni Järvinen // [EMAIL PROTECTED] // http://www.reactorbox.org/~wandu "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTE

Re: [PHP-DB] Windows XP

2002-08-19 Thread Gerard Samuel
Please forgive me, but Im more versed in FreeBSD than winXP. WinXP is on my laptop for dev purposes. When I installed mysql, I created a database and user with the name 'crash' via the command line client like so -- grant insert, delete, update, select, create, alter, drop on cras

Re: [PHP-DB] Windows XP

2002-08-18 Thread Miles Thompson
Gerard, This is a shot in the dark, but does the web server (usually NOBODY, but "crash" in this case? Ominous name!) have an account on the XP box and the appropriate permissions to write to the MySQL database? That's where I'd start, along with checking mysql_error(). Miles At 04:18 PM 8/