Web Programming


Frame-busting
[26 Jul 2010]
Here's some code you may find useful if your website is stuck in an iframe inside someone else's site: if(top.location != location) { ...
How to Flatten a PHP POST Array
[19 Jul 2010]
The situation is this: You have a PHP script that takes POST data, and you need to pass that data on to a remote server. How do you do it? ...
Show Bots the Content to Index
[17 Jul 2010]
There are a few ways to tell bots whereabouts the content is on your web page: Google ad section targeting: What is section targeting and ...
Facebook Bot User-Agent
[17 Jul 2010]
Here's a user-agent you'll need to add to your list of robots: facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php) I ...
Efficiently decode a short url
[10 Jul 2010]
I am building a reference of short urls, and for each one need to record its final destination url, server software and page title. Curl almost ...
Behind the bit.ly url
[08 Jul 2010]
If you want to know more about what a bit.ly url refers to, here is a PHP function that may be of use to you. It first checks what the destination ...
Implementing Facebook OpenGraph
[25 Jun 2010]
Facebook makes its new Graph interface sound so simple, but what about Facebook OpenGraph? This is where third-party web sites specify extra ...
Sitemaps in robots.txt File
[08 Jun 2010]
Give your carefully created sitemap a mention in your robots.txt file. You simply use this format: Sitemap: http://www.mysite.com/sitemap ...
GIMP: Removing Background From Photo
[06 Jun 2010]
You can use the GIMP image manipulation program (with some dexterity and a lot of staring) to remove the background from a photo. The best guide ...
Media Temple Proactive Against DoS
[18 Jan 2010]
I have some mixed opinions of Media Temple tonight. On the one hand, I was completely unable to access swinny.net (IMAP/SSH/HTTP) or domains ...
Google's Spooky Robots
[31 Oct 2009]
Google has enhanced their robots.txt file, in a hope of getting more treats and fewer tricks. Let's see if the kids do as they're told! Judging ...
Memcached and PHP
[22 Oct 2009]
There are plenty of resources out there on getting PHP and memcache to work together, and a basic installation and configuration should pose ...
Video Sitemaps For Google Search
[10 Aug 2009]
Read about creating Google video sitemaps
Fresh Start for Swinny.net @MediaTemple
[31 May 2009]
Swinny.net has been hosted on MyServerWorld.com (previously part of HostEurope, now Pipex) for many years, since 2001 in fact. Performance and ...
Alert! Domain Renewal Group on the Prowl
[20 May 2009]
Be on your guard! The Domain Renewal Group sends renewal letters to domain holders, when domains are nearing their renewal date. The letters ...
1 » 2