Skip to content

Tag: ldap

PHP not redirecting on Ubuntu Server

I’ve built a website login form on my local Windows machine that works perfectly but when deployed on an Ubuntu web server, the login for redirects to /login.php# Below is the code used – LDAP has been uncommented from the extensions section in php.ini on the Ubuntu server. Is there something Linu…

Ldap bind message in Laravel

I have a question. Currently I am working with ldap connection. I have no issue with ldap connection as I am using manual ldap codes. My connection with ldap is success. All seems good when I enter the correct username and password. I have problem when I enter wrong password, the page will show “ErrorEx…

Symfony Ldap checkPassword

I’m using Symfony 4.4 and I’m doing my own authenticator. Everything works fine, I just can’t figure out how to compare the password entered by the user and the one in Ldap. I would like to do this in …

How to print rows of CSV file with PHP?

Here’s the code that I’m using, but it doesn’t output exactly what I want. Here’s what it outputs currently: In other words, it’s almost as if it’s adding all my CSV data into a multidimensional array… What I want is to just output it as I see it like so: Answer How t…

� 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 …