Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

Getting a List of Email Forwards in Exchange 2010

From the Spiceworks forum: # get all mailboxes that have a forward, sort by name and select their name and forward address $fwds = get-mailbox | Where-Object { $_.ForwardingAddress -ne $null } | sort Name | select Name, ForwardingAddress # now get the primary smtp...

Virtual Box Windows XP Clonezilla Restore

JoyceMayne was offering a 100-300 for  your old PC for a new laptop deal so I had to give them my old computer before I could transfer everything to the new laptop so I used clonezilla-live-2.2.4-12-i686-pae.iso to take an image of the old Windows XP box before I...

Who’s down with Apc? It almost wasn’t me

Symptoms: You have the Apc cache engine turned on it Config/bootstrap.php and Config/core.php You are running php-fpm You run the cake console from the command line inside your app dir and you get the below error // Config/bootstrap.php // Setup a 'default' cache...

applicationCache too small to be (really) useful

I have a html5 CACHE MANIFEST file with 600+ resources listed in it totalling 78.4 megabytes Access the application on Internet Explorer 11 under windows 7 I manage to download exactly 57.16MB before it stops. The applicationCache reaches a status of 0 (UNCACHED) so...

Testing Session TimeOut with CakePHP

By default CakePHP uses the session timeout value in php.ini But sometimes you might want to specify a very short Session timeout for testing your code To do that you open Config/core.php and add a value to the "Session" Configure::write area...

CakePHP with TCPDF

This is brilliant:- http://www.martin-schenk.es/en/cakephp-2-pdf-with-tcpdf/ in View/Layout/pdf/pdf.ctp <?php header("Content-type: application/pdf"); echo $content_for_layout; But with google chrome using the $pdf->Output('filename.pdf', 'I') option you get the...