Toggen Blog
Tech tips
Articles
Latest
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...
CakePHP in a subdirectory NginX
This is how I setup cakephp so I can have multiple apps in subdirectories with a shared cakephp instance. Under NGinx I setup my webroot folder as follows /var/www/html <== webroot everything served from here /var/www/cakephp-2.5.4 <== cakephp lib folder here...
Squishing your content down for Mobile Devices
As usual my experience comes just after I need it. Been working on mobile enabling a web page and am trying to get the content to display sensibly on an iPhone and a Galaxy. I'm making a lot of mistakes... I've been using pixels for button sizes and they are...
Vultr VPS Pricing
I've used Rackspace & Digital Ocean but I've only just became aware of https://www.vultr.com/ I only spend about $20USD a month on my 2GB RAM 40GB SSD VPS and I think Rackspace was around the $24 dollar mark. But Vultr is charging $15.00 a month for the same...
How I Imagine OpenDKIM works
Disclaimer: This is just what I've gleaned from Google and trial and error. So I'm not sure if the following is entirely true but this is how I imagine DKIM works. See http://dkim.org for more information A person with an email address of [email protected] wants to...
