Sunday, February 25. 2007
Part 2: Frames
In the previous post looking at frames I showed you how to keep your site out of frames.
Although this is often needed it can be a little heavy handed. In this post I show you how to handle exceptions. Continue reading "Part 2: Frames"
Although this is often needed it can be a little heavy handed. In this post I show you how to handle exceptions. Continue reading "Part 2: Frames"
Date and Time in MySQL
The second instalment in the series of articles looking at handling date and time that I've mentioned previously has now been posted.
There is a bit more detail with this one.
There is a bit more detail with this one.
Thursday, February 22. 2007
Part 1: Frames
This is going to be the first post in a series of three looking at what to do if someone attempts to display one of your pages in a frame on their site.
This first article is going to look at how to prevent this and why you would want to.
Continue reading "Part 1: Frames"
This first article is going to look at how to prevent this and why you would want to.
Continue reading "Part 1: Frames"
Sunday, February 11. 2007
Handling date and time: MySQL versus PHP
I'm in the habit of handling date and time manipulations at the code level. I normally get the timestamp I need using time() and then store this value in the database. It works but I wonder whether there is a better way.
Of course I'm aware that MySQL can handle dates and times but I've just never taken the time to understand how to the get the most out of this functionality. My code worked perfectly well and I always had more interesting things to tackle.
This recent article from phpbuilder though has kick-started my interest in what MySQL can do with a date. It seems like a nice overview and who knows, maybe the next application I put together will take less time() to create. [Thank you very much . . . I'm here 'til Thursday]
Of course I'm aware that MySQL can handle dates and times but I've just never taken the time to understand how to the get the most out of this functionality. My code worked perfectly well and I always had more interesting things to tackle.
This recent article from phpbuilder though has kick-started my interest in what MySQL can do with a date. It seems like a nice overview and who knows, maybe the next application I put together will take less time() to create. [Thank you very much . . . I'm here 'til Thursday]
Saturday, February 3. 2007
Is my MSNM contacts script obsolete?
I keep a fairly close eye on my server logs. It's a boring process but undoubtedly worth it. You never know what you might find.
I've recently got a few visitors from mytton.net, the website for David Mytton. It turns out that he has recently been looking at implementing some contact importing functionality on a project he is working on. Continue reading "Is my MSNM contacts script obsolete?"
I've recently got a few visitors from mytton.net, the website for David Mytton. It turns out that he has recently been looking at implementing some contact importing functionality on a project he is working on. Continue reading "Is my MSNM contacts script obsolete?"
Thursday, February 1. 2007
'Contact us' attack takes out mail servers
There was an interesting article at 'The Register' today commenting on the potential dangers of 'Contact Us' forms. I bring it up because there was also a question asked today about the spam implications of the MSNM contacts fetching script. Many of the points raised in the article on 'The Register' also apply to this script.
Continue reading "'Contact us' attack takes out mail servers"
Continue reading "'Contact us' attack takes out mail servers"
