Ugh
Entries Tagged as 'Web dev'
xml:space=”preserve”
March 31st, 2008 · No Comments
Tags: Web dev
No Windows Update in IE8… or 7, or 6
March 27th, 2008 · 1 Comment
It appears that IE8 not only installs over IE7 by default (the VS 08 team got this one right - it installs side-by-side), it also appears to break my other IE browsers too (I have multiple IEs installed).
Tags: Web dev
IE 8 Will Default to Best Standards Mode
March 4th, 2008 · No Comments
Pretty big news, the IE team have listened and reversed their original decision regarding whether to render standards compliant pages in “IE7 standards mode” or the latest, best “IE8 standards mode”.
Now the question some in the community are waiting to be answered, is will IE8 support XHTML?
Tags: Web dev
PHP: Overloaded member initialisation can be harmful
February 21st, 2008 · No Comments
You know how you can sometimes accidentally “hide” methods in C++ if you don’t overload them in the same way and it can cause lots of pain?
PHP has something even worse…
class Dog
{
protected $voice = ‘Woof’;
function Bark() { echo $voice; }
}
class Chihuahua extends Dog
{
protected […]
Tags: Web dev
DOMDocument::LoadXML Extra content at the end of the document in Entity…
February 19th, 2008 · 5 Comments
This is one of those tricky XML things that can trip up the unwary. Looks like a lot of people have had trouble with this as there’s plenty of hits on Google with people asking questions but I couldn’t find an answer.
You’ll be seeing something like:
Warning: DOMDocument::load() [function.load]: Extra content at the end of the […]
Tags: Web dev
IE 8 and Firefox 3 now both pass Acid2 test
December 20th, 2007 · No Comments
A post yesterday on the IEBlogĀ reveals the latest build of Internet Explorer 8 passes the Acid2 test. This is great news for web developers everywhere, as it means the next iteration of the most common browser should just work with most site’s html/css, without the need for annoying tweaks and hacks.
Firefox 2 doesn’t quite […]
Tags: Web dev
Email obfuscation does not work, and is easily broken
December 11th, 2007 · 2 Comments
I’ve read plenty of articles about email obfuscation over the years. Until I got an email address with decent spam protection, I occasionally made a half arsed effort at it too - the old davedx at gmail dot com. That was before I knew much about how powerful web scripting had become.
Email obfuscation is […]
Tags: Web dev
Get current form data from TinyMCE
December 6th, 2007 · No Comments
If you’re using TinyMCE for some kind of web GUI and want to access the current data contained in the textarea using JavaScript, you may have noticed that just getting it will only give you what was loaded into the textarea’s inner content in the HTML. To get the content the user has inputted into […]
Tags: Web dev
Audio CAPTCHAs
December 6th, 2007 · No Comments
I spent quite some time implementing an audio version of our CAPTCHA. It took longer than the visual version, and I ended up modifying Nick Swardh’s code to get it done in the end. It isn’t too hard once you figure out how to join mp3s together so let’s look at what’s out there already, […]
Tags: Web dev
What happened to webrings?
November 11th, 2007 · No Comments
Back in the good ol’ days, when half of the web’s personal homepages were hosted on geocities, there were a standard set of homepage ‘add ons’ that most people used: hit counters (now superceded by more complicated backend analytics programs that parse web server logs), guest books (supplanted by more general comment systems), and web […]
Tags: Web dev
