Archive for the ‘PHP’ Category

Using PHP LDAP To Find Which Groups A User Belongs To

Tuesday, June 3rd, 2008

One of the tasks I have been looking into at work is the ability to use PHP to authenticate users against a Windows Active Directory (AD). After searching around on the internet I did manage to find a great little tutorial that helped explain the steps in searching the AD for a particular user and then if they existed to authenticate them with the submitted credentials.

While writing this post I have noticed that the blog that tutorial was written on …

Undefined json_encode function?

Friday, April 25th, 2008

For some strange reason one of my php scripts at work stopped functioning and was throwing a fatal error complaining that the json_encode() function was undefined. I thought this was a bit strange since I could of sworn the previous week it was working fine. I am using the json_encode() function to allow javascript to properly parse data that it requests via AJAX. It allows the parsing of database information in a more efficient manner than other methods I have …

SugarCRM: SugarCON 2008 Day 1

Thursday, February 7th, 2008

Well if you have not heard about SugarCRM it is an open source CRM (Customer Relationship Management) software package that utilizes the language PHP to interact with a MySQL database.

What does that mean for you? Well depending on your organization’s size it can mean you can obtain fully-featured contact management software that has an upfront cost of $0. The only thing it really requires is a web server running either Windows or *nix operating system. To obtain …