Yes, my code only works with Windows as it uses the Microsoft SQL PHP libraries. It should be trivial to convert back to the native PHP MSSQL libraries, but as I don't use them, you'll have to do this yourself. I targeted Windows, as, well thats what Kaseya is really all about and runs on. In any case, just replace all the calls to sqlsrv_ with the equivalent mssql_ calls - you may need to adjust a few parameters here and there e.g. I think the open SQL connection call is different.
↧