Archive for the 'cakephp' Category

CakePHP installing MySQL on Mac Os X 10.5 (.x) Leopard with built-in PHP and Apache 2

Monday, December 22nd, 2008

The simpler alternative to running MAMP or XAMPP on Os X is using the built-in PHP, APache and getting a binary of Mysql. Although MAMP and XAMPP are simple ways also.
When I first installed mysql for my mac running Leopard just after it came out (end 2007), it was a bit flakey and casued a […]

cakephp 1.2 Cake Security component HTTP-Auth example

Wednesday, October 31st, 2007

*updated Jan 30th 08*
Snook blog post
Jonathan Snook points out another solution to an easy http-auth implementation for Cake’s directories (that are really rewrites).
the gist is that you put a <Location “/name_of_dir/”> in your httpd.conf, which you may well have access to if you are telling it the webroot of Cake is the webroot anyway.
Works like […]

popup with javascript in CakePHP 1.2 and pages controller

Tuesday, September 18th, 2007

update: More on the XHTML technique popup  
I wanted to make a simple popup in my latest Cake app, and so needed to set a blank layout just from looking at the URL, as the page was essentially static that I was going to pop up.
e.g. then my little popup URL caller (hyperlink ) would […]