Wednesday, August 24, 2005

Setting a User Account Expiration

Type type = usr.NativeObject.GetType();
Object adsNative = usr.NativeObject;
type.InvokeMember("AccountExpirationDate", BindingFlags.SetProperty, null, adsNative, new object[]{"21/01/2006"});
usr.CommitChanges();

Tuesday, August 16, 2005

Getting PHP to work with MySQL on IIS/W2k3

Make sure that the PHP directory is in the System PATH variable. Only version 5.1.5 works with 64bit W2K3.
 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn