Skip to content

Tag: character

� character from ldap

i am getting some strange characters form ldap server when i search some user info.if value contains turkish characters like ‘ç’ it replaces to ‘�’.in this situatian i convert string to utf-8 than str_replace to fix it.My function is that; But sometimes that causes some problem , so i …

PHP strtolower ignoring the first character

I am looking for a way in which each word from the 2nd letter to write everything small. The first letter should be ignored. Does anyone have an idea? Answer You have to write your own function to do this. Use something like the following: