This is the message I get after I enable in the 5.2.5 PHP ini the ODBTP dll that I downloaded from the CVS repository.
I use IIS and Windows 2003 server.
Please help. What could be the problem?
Thanks
B
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try running the same script, or another test script via the PHP command line interpreter. This will verify if this pertains to IIS or the 5.2.X php_odbtp.dll.
-- bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great! I found the error. The mssql module was enabled twice in the php.ini. So i am dull, I did comment out one but the other no. So now this works ok.
Another issue.
I need to retrieve unicode data from nvarchar field from mssql (english, czech, hun, russian) but strange characters are returned. How should you treat unicode with ODBTP?
Thanks
Andras
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Indeed! I found the same. Setting in the conf to unicode text and encoding to utf-8.
Works like charm! Fantastic! The only solution that works on this globe, incredible.
Microsoft just issued a php compatibility but that does not work either.
Thanks
Andras
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
This is the message I get after I enable in the 5.2.5 PHP ini the ODBTP dll that I downloaded from the CVS repository.
I use IIS and Windows 2003 server.
Please help. What could be the problem?
Thanks
B
Try running the same script, or another test script via the PHP command line interpreter. This will verify if this pertains to IIS or the 5.2.X php_odbtp.dll.
-- bob
Great! I found the error. The mssql module was enabled twice in the php.ini. So i am dull, I did comment out one but the other no. So now this works ok.
Another issue.
I need to retrieve unicode data from nvarchar field from mssql (english, czech, hun, russian) but strange characters are returned. How should you treat unicode with ODBTP?
Thanks
Andras
UNICODE text is returned using UTF-8 encoding. You need to set the HTML page content encoding to UTF-8.
-- bob
Indeed! I found the same. Setting in the conf to unicode text and encoding to utf-8.
Works like charm! Fantastic! The only solution that works on this globe, incredible.
Microsoft just issued a php compatibility but that does not work either.
Thanks
Andras