HTML encode your e-mail address with PHP to avoid spam bots

HTML encode your e-mail address with PHP to avoid spam bots

Email spam is an everyday nuisance to most people which is usually generated by relentless spambots crawling the internet and source code of your page to gather email addresses on mass. They simply consume addresses on a fairly consistent basis in order to sell them or spam people, or both. Google also indexes email address but that’s all it does, index, so no harm there. Nobody wants spam in their email but of course there is often a need to display your email address on your site or blog to allow people to touch base with you and doing this poses the risk it’ll happen. Often this is the core reason for your spam influx!. There is an answer to avoiding the spambots causing an invasion to your inbox Continue reading

Rooting the Samsung Galaxy S3….

Rooting the Samsung Galaxy S3….

Ok, firstly this post is only applicable to UK users of the S3, with a model number S3 I9300. Please, if you’re in the US with a T-Mobile, AT&T, VERIZON, or SPRINT VERSION of the Galaxy S III this post isn’t suitable for your handset and you’ll encounter problems should you attempt to root it and possibly brick the handset. There are other posts I’ve seen suited to these devices. A simple Google search should yield some resources.

Six or so months ago, I got the Samsung Galaxy S3 on a 2 year contract with the UK provider, Three network. It’s great I love it and I was happy with the current user privileges as most users are until more recently having read the benefits or performing a root on the device (namely ridding my handset of Bloatware and the after root use of removable storage through USB which doesn’t require an app). Continue reading

Getting WordPress post titles asyncronously using Ajax…

Getting WordPress post titles asyncronously using Ajax…

Ajax logoAssuming you already have a pretty good knowledge of JavaScript, this post should just be recap or simple enough to understand.

I know this method can also be done using the YUI framework with slightly less code but I wanted a relatively simple, raw and quick way to populate a div using Ajax to dynamically update my most recent WordPress blog posts on my homepage. I built my site before WordPress got the in thing, so i just skinned a theme and went from there. I’d previously been using a JavaScript jump list which I’d had to manually update after each post and it was tedious work. I’ll show the YUI example also later. For this simple task though, I chose 5 posts (or my page) as being an ample amount to display (later cutting that to the the most recent post) and as I’ve been dabbling with Ajax recently, I thought I’d use that method and a server side PHP module to interact with the Ajax via a GET request, communicating asyncronously on page load. For testing, I kept all the code in just one page just to make matters simple and debugging easy but naturally as I want to use an unobtrusive method and in order to remove clutter, I later removed the JavaScript into an external file of it’s own. Continue reading

Samsung Galaxy S3 review

Samsung Galaxy S3 review

Samsung Galaxy SIIIOk, so I got my new ‘Marble White’, 16GB, Gorilla Glass 2 (uses PenTile matrix technology) fronted, Samsung Galaxy S3 2 weeks ago (wasn’t able to get new Pebble Blue due to the paint issue Samsung is experiencing). So for the last fortnight I’ve been playing and experimenting with all these great new and exciting features. I had an HTC Desire previously (non HD) which was my first taste of Android and so initially I felt pretty spoilt with all the new features Samsung has boasted about during the pre-hype launch. I also know a few people who have the S2 and they’re more than happy with that handset so I was even more interested knowing that and to get to grips with things generally. Continue reading

Failed promises of Android 2.3 Gingerbread…

Failed promises of Android 2.3 Gingerbread…

Failed promises for Android GingerbreadLike many people with an Android phone, in my case the older non HD HTC Desire, we subscribed to the maker as it’s without a doubt a good product (so much so Google bought it). It’s an alternative to the usual iPhone, it’s Open Source, cheaper and very soon will be equally, if not more popular than the iPhone. Currently, Android market has in excess of 300,000 apps which is increasing all the time. When I switched I liked the open source aspect of the OS. Its ability to sync my other Google accounts fairly dynamically in addition was a great bonus. I also liked the fact it’s customiseable in that the dev community can contribute to it’s ongoing overall development through apps with an open SDK (something apple doesn’t have which is still being improved on). Promises of access to the Bootloader should be coming soon. And of course, Android Market is far more user friendly than that horrid, stand alone app iTunes which requires a download. Continue reading