zeno Posted July 25, 2007 Share Posted July 25, 2007 Within the following environment: * MS Windows NT 5.0 web server * MS-SQL database server * PHP Version 4.3.3 (with MySQL functions, but without MS-SQL functions) ... is it possible AT ALL possible to connect to a database if my pages are all *.php? I asked the sysadmin to configure PHP's MS-SQL functions, but he felt that it would require too much modification of the server. He suggested I use ASP... is that even possible without switching all the files to *.asp (and making the existing PHP scripts useless)? Quote Link to comment Share on other sites More sharing options...
zeno Posted July 25, 2007 Author Share Posted July 25, 2007 bump Quote Link to comment Share on other sites More sharing options...
deadimp Posted July 25, 2007 Share Posted July 25, 2007 ASP is an entirely different langauge, so yes, your PHP scripts will be useless unless you somehow configure ASP to run PHP, which I don't know if it'll be possible. If you really need MS-SQL with PHP, I'd suggest switching hosts. If you're paying for your service and the admin says that it'll be too much of a hassle to add a simple library, you ought to start bitching about it, and move to a different host (depending on how your billing works out). Quote Link to comment Share on other sites More sharing options...
Barand Posted July 25, 2007 Share Posted July 25, 2007 Too much change - like removing a ";" in php.ini file? As an alternative you could use ODBC (but that too would require even more effort by the sysadmin to set up the DSN) or you could use COM to create an ADO connection. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.