Category Archives: Programming

Accessing Shared Mailboxes in Office365 with PHP

After a lot of trying&failing, this setup worked for me when connecting to a shared mailbox in office365: As the username, use “your_username\shared_mailbox_alias” (your_username needs access to the shared mailbox of course) Add the extended option ‘DISABLE_AUTHENTICATOR’ => ‘PLAIN’ Example: $conn = imap_open( “{}Inbox”, ‘[email protected]\shared_mailbox_alias’, ‘mypassword’, OP_READONLY, 1, array(‘DISABLE_AUTHENTICATOR’ => ‘PLAIN’) );


New pet project up: This is a pure javascript offline projects where i try to implement a tool for commuters and tourists in western Norway. Manually (sigh..) create xml objects from routes on the ferryoperator’s webpage jquery parse these and create a live webpage use localStorage (for the most part) to do the settings-bit… Read More »

Vektorspillet (no-nb)

I got dared to make a pc version of some game. so i did. mostly. Get it here (XNA 4.0) You will need the redistributable for xna4 aswell:

Checking checkboxes, not always a breeze

So, I was sitting here and debugging some code for more than three hours. And finally, I figured it out: You cannot set a checkbox as checked until you have appended it to a container. Code that does not work: var newEl = document.createElement(‘input’); newEl.type = ‘checkbox’; newEl.value = ‘yes’; if(value == ‘1’){    newEl.checked… Read More »


Great method for sharing info in different layers in ASP.NET without passing anything between them.