OneOrZero / PHP Hack needed
:(Need some help with this one..
Using LDAP to authenticate users in One||Zero, but come across a problem with a couple of users who have apostrophe's in their names.. (eg: O'Connor) and email addresses..
I need to know how to get PHP to ignore the apostrophe's as its refusing to allow them to logon with the following errors:
LDAP server did not return any users for the specified Username! ... Check the 'LDAP User Search Attribute' in the Moorside High School Server Settings!
Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'neill',user_name='joneill',email='jo'neill@staff. internal',password='d41d8cd98f0' at line 1