RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Gary Ogilvie
How do I comment out a line in an ini file... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:14 To: Gary Ogilvie; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine [snip] I have

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Gary Ogilvie
-Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 18 June 2003 16:14 To: Gary Ogilvie; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine [snip] I have tried it on a different machine and it is

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Jay Blanchard
[snip] I have tried it on a different machine and it is working... so maybe its something to do with the setup of my computer? [/snip] Check your php.ini as Adam suggested...I strongly suspect that the ;extension=php_mssql.dll line is still commented out. Jay -- PHP General Mailing List (http

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Gary Ogilvie
] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine [snip] Actually the @ just supress's error messages. And even then, the "or die" part would still get executed if the function error'd out. [/snip] Well, if that is the case then his script is 'hanging up'

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Adam Voigt
Uncomment the extension in your php.ini, usually in: c:\winnt\php.ini On Wed, 2003-06-18 at 10:57, Gary Ogilvie wrote: > If I take out the "@" sign I get the following error: > > Fatal error: Call to undefined function: mssql_connect() in F:\Program > Files\Apache Group\Apache2\htdocs\REPRO\rep

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Jay Blanchard
[snip] Actually the @ just supress's error messages. And even then, the "or die" part would still get executed if the function error'd out. [/snip] Well, if that is the case then his script is 'hanging up' during the mssql_connect phase. Add this line to the top of the script error_reporting

RE: [PHP] Connecting to MSSQL Using PHP on Apache 2.X.X WindowsMachine

2003-06-18 Thread Adam Voigt
Actually the @ just supress's error messages. And even then, the "or die" part would still get executed if the function error'd out. On Wed, 2003-06-18 at 10:51, Jay Blanchard wrote: > [snip] > > $myServer = "192.92.0.248"; > $myUser = "repro"; > $myPass = "repro"; > $myDB = "repro"; > >