RSS
You are here: Home » Internet » PHP

Archive | PHP

Google Sitemap to W3C Validator Updated

13. November 2008

0 Comments

Google Sitemap to W3C Validator Updated

I’ve spent this evening updating the code for the Google Site map to W3C Website Validator, its now probably 10 times faster. All websites should atleast be transitional, accessibility is very important so its a really handy tool. Feedback welcome, enjoy the updated tool. Bookmark

Continue reading...

First Wordpress Plugin: RSS Aggregator

2. November 2008

0 Comments

First Wordpress Plugin: RSS Aggregator

This last week I’ve been coding my first Wordpress plugin, hence the lack of posts. I’ve really enjoyed writing for wordpress so expect to see some more. I’d highly recommend learning some of it, I would also recommend You can download the Wordpress RSS Aggregator here. Please feedback if you like/dislike my plugin so I can make further [...]

Continue reading...

How to add Twitter to your Blog

26. October 2008

2 Comments

How to add Twitter to your Blog

Joost has written an awesome little guide on how to display your last Tweet using the Twitter API. I’ve added it to my sidebar, check it out. Its ideal for personal blogs since writing a post isn’t always practical or neccersary. Incase your wondering what Twitter is, its a social networking site that allows its users to send [...]

Continue reading...

HTTP Referral Spoofing with PHP and cURL

27. August 2008

6 Comments

HTTP Referral Spoofing with PHP and cURL

Well I’m feeling much better, so the other day I was reading a thread on Digital Point, this guy was charging a sh*t load to basically send a shit load of spoofed visitors with a fake Referral header. Therefore I’ve written a very basic one which you could in theory leave running all night. Unlike [...]

Continue reading...

Reading an XML Sitemap using PHP

23. August 2008

0 Comments

Reading an XML Sitemap using PHP

In this short tutorial I will cover reading a Google/XML Sitemap and grabbing hold of each URL to use as you wish. This is amazingly easy to do: Firstly we need to pass in the Sitemap URL. In the example we’re going to use GET since this is the most useful in my opinion. <?php $sitemap = $_GET['sitemap']; // [...]

Continue reading...

Validating a website in PHP

23. August 2008

0 Comments

Validating a website in PHP

I found this pretty hard to begin with I was uncertain of how to check whether a website was online without writing a complicated string of Regular Express and even then this didn’t check if the site was active at that point in time. The solution was supprisingly simple: We can use the PHP Function “fsockopen” [...]

Continue reading...

Find Web Sites on the same Web Server

16. August 2008

0 Comments

Find Web Sites on the same Web Server

New tool today, been in the pipeline for a while, it uses the Live Search SOAP API, PHP & jQuery. http://www.anthonyshapley.co.uk/tools/web-server-check/ Feedback welcomed Bookmark

Continue reading...

9 Programming Rules

28. October 2007

0 Comments

1. KISS - Keep it Simple Stupid, this also applies to designing programs, why do these things need to be so complicated? 2. ID Division, at the top of every page/program put an ID Division so we know what this section does and who the author is. 3. Comment on each section of code so we understand [...]

Continue reading...