Printing to Word from PHP is usually easy. Word can read HTML, so there you have it – you don’t have to change a thing! Just add the right headers to your page, and it all happens automagically, right?
Well – not so much.…
Setting up a custom 404 error page serves two purposes:
- It allows you to present your users a nice message rather than the ugly, server-generated default page.
- It serves to mask the server’s identity – so, security is a little better.
…
Seam is quite a good and secure framework as far as frameworks go. However, with a simple ServletFilter, it can be made just a little bit more secure, and maybe help you pass that next audit. In this post you’ll see how to define a Seam servlet filter to secure your website just a little bit more.…
Timing attacks are very difficult to pull off, but are possible nevertheless. However, it is quite easy to protect your Cake application against them, and as an aside – against incremental password crackers brute-forcing. This post shows you how.…
In a recent application, the customer wanted to be able to change session timeout dynamically, without restarting the application.
This being a Seam application, I thought it was going to be quite straight-forward: either add it in the timeout= attribute in pages.xml, or just add it wherever we start a new conversation (conversation timeout is effectively what we were looking for anyway).…
You’ll probably never see it unless you use Firebug or look at Apache raw access logs, but jquery.gritter causes 404 errors repeatedly.
The problem with 404′s is that they are like visiting relatives. They don’t go away unless you do something about it, and you usually can’t be bothered to do something about them – because it’s really not that bad.…
This post is part of the “Be nice to your users” web UI design series.
There are many things that contribute to the rise or fall of your website. Anyone, and Google especially, will tell you that content is king. You have to have good, original content. Your site needs to be original, provide good value for your users, etc etc.…
This post is part of a “Be nice to your users” web UI design series I plan to write.
With the whole Web2.0 fluid/milky design that many sites are using now, it became very popular to use shades of gray for the main text color on websites.
Sometimes, this gray can be really difficult to read, especially for people with less-than-perfect eye sight.…
We’ve all been there: You have a website design. There are placeholders for galleries or thumbnails or what-have-you. Sweet as.
You code, fire up the browser and -
the images are all wrong! They are too large, your page looks awful, or you get sliders all over the place. Not happy at all.…
CakePHP’s security component is awesome. I use it all the time for its CSRF protection (Which will be the subject of a future post).
But sometimes, it does not work as expected. Frustration ensues.…
Categories
- Android (1)
- appengine (3)
- Be nice to your users (6)
- CakePHP (13)
- General (6)
- Googlemaps (3)
- Java (16)
- javaScript (5)
- jQuery (11)
- Seam (2)
- Security (5)
- Spring MVC (6)
- Spring Webflow (2)
- Ubuntu (1)
- User Interface (6)
- Wordpress (2)
- Zope (2)
Recent Comments
- paskuale: @Duck Ranger framework’s name: Yii (Yes it is)
- Hanzel: I’m having a hard time understanding why when i click “run as…” in the project it...
- paskuale: Great article, thanks to your article I realized the same thing but with another framework, I don’t...
- Radix: This indeed came first in google and saved heck lot of time for me. Thanks
- Aditya: Spot on!! Thank you!! Had no idea why this error was occurring.
- paskuale: @Duck Ranger framework’s name: Yii (Yes it is)
Archives
- April 2012 (5)
- March 2012 (1)
- February 2012 (1)
- January 2012 (2)
- December 2011 (1)
- July 2011 (2)
- June 2011 (4)
- May 2011 (1)
- December 2010 (3)
- November 2010 (1)
- August 2010 (2)
- July 2010 (2)
- June 2010 (4)
- May 2010 (4)
- April 2010 (5)
- March 2010 (3)
Growing Kiwis
Growing Kiwis is my free service for early childhood education centers, preschools, daycares, kindies and more- any group of children, really.
Let me know what you think!













