QDIG photo gallery error: PHP Notice: Undefined variable: HTTP_GET_VARS

problem: tried to install qdig photo gallery on my IIS box – however it returned an error like: … PHP Notice: Undefined variable: HTTP_GET_VARS in C:\inetpub\qdig3\index.php on line 578 PHP Notice: Undefined variable: HTTP_POST_VARS in C:\inetpub\qdig3\index.php on line 579 PHP Notice: Undefined variable: HTTP_COOKIE_VARS in C:\inetpub\qdig3\index.php on line 580 PHP Warning: array_merge() [function.array-merge]: …   solution: in…


SQL server – a db user should only see his DB and no other.

1) You got to remove the VIEW ANY DATABASE permission for the public group. (T-SQL) USE masterDeny VIEW ANY DATABASE to public 2) to let the user see his database you must make this user the owner of the db when you create the database: see here for more details. make user owner of db…


script sample für IIS6 – Website mit unc user name einrichten (use at your own risk!)

On Error Resume Next Const wbemFlagReturnImmediately = &h10Const wbemFlagForwardOnly = &h20 arrComputers = Array(“SRV2003”)For Each strComputer In arrComputers   WScript.Echo   WScript.Echo “==========================================”   WScript.Echo “Computer: ” & strComputer   WScript.Echo “==========================================”    Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\MicrosoftIISv2”)   Set colItems = objWMIService.ExecQuery(“SELECT * FROM IIsWebVirtualDirSetting”, “WQL”, _                                          wbemFlagReturnImmediately + wbemFlagForwardOnly)    For Each objItem In colItems objItem.UNCPassword…


keyboard language layout ändern auf ServerCore

Ich wollte heute mein keyboard auf deutsch setzen auf meiner Windows Server 2008 core installation (ich hatte EN).tja aber wie machen über die command line? einfach control intl.cpl auf der cmd line aufrufen und los gehts.  taken from: http://blogs.dirteam.com/blogs/sanderberkouwer/archive/2007/08/13/changing-server-core-s-look-and-feel-part-1.aspx