Jump to content

MS-SQL without functions?


zeno

Recommended Posts

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)?

Link to comment
https://forums.phpfreaks.com/topic/61713-ms-sql-without-functions/
Share on other sites

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).

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.