Coda 2 by Panic…

Here at hozzamedia we use Coda. A brilliant IDE for coding in PHP, HTML, CSS and JS by Panic. Amazing software (especially when coupled with Transmit [their File Transfer client)).

Panic have now finally released their new IDE Coda 2. With some major program and work-flow improvements, which I wont go into as you can see it all on their webpage for Coda 2.

However, I’ve never been to keen on the default syntax highlighting, and after using a Dreamweaver themed syntax highlighting for so long and feeling traitorous. I’ve built my own syntax colouring theme (in the old Coda 1 called a SeeStyle), called a SSS file.

My theme is based on various themes all over the net, feel free to use. Its easy on the eye and makes coding easier.

Download hozzamedia.sss

Coda 2 by Panic…

Fend off the bad bots…

I have now discovered a few tips and tricks to fend off those bad bots, crawlers, harvesters, you name it – all at the application layer.

First of all you need to create yourself a simple blocklist of IP’s, one IP per line, IP’s you don’t want visiting your site. (hopefully ours will be published for public use soon)


The PHP needs to be something simple like a script that checks if the users IP is in the text file and if it is, display a “No Entry Error”. Originally my script only displayed a HTML page with text along the lines of “Your IP address has been blocked from our network due to suspicious activity, you are being monitored. Continue reading “Fend off the bad bots…”

Fend off the bad bots…


Stating to use HTML 5!

Only the best thing to happen to the world (wide-web) since IE… pause for laughs from nerd community

Wikipedia says:

“HTML5 is currently under development, as the next major revision of the HTML standard.
Like its immediate predecessors, HTML 4.01 and XHTML 1.1, HTML5 is a standard for structuring and presenting content on the World Wide Web. The new standard incorporates features like video playback and drag-and-drop that have been previously dependent on third-party browser plug-ins such as Adobe Flash and Microsoft Silverlight.”

Yes Wikipedia is correct HTML 5 is stating to kill of evil flash and copious amounts of unnecessary JavaScript (the downfall of Facebook at the moment), the internet will be faster and more stable with a few awesome new features such as <video>, <audio>  and placeholder=””!

Check out w3schools for a detailed incite into the up and coming HTML 5 being officially finished in 2022, well worth the read and start incorporating it into your developments.


JavaScript remove search text…

I have found this script comes in very handy from time to time and i cant seem to find it on the Internet. So here it is.


<input type="text" value="search" onclick="if (this.value == 'search') { this.value = '' }">


This will allow you to have an example in each text box to help the user better understand your form. Instead of the user having to manually delete all the text inside, it will simply remove itself at a click of a button AND it will only remove the text you ask it to so it wont end up deleting all of the text your user input into the textbox.

How it works…

if (this.value == 'search')


this.value = ''


JavaScript remove search text…