Posts Tagged ‘PHP’



How to Show Your Google Analytics Count in WordPress

by

Using a little php function inside your wordpress theme’s functions file, we can call up the total amount of visitors from a given month (ie: last 30 days).

(more…)

Hobo WP GoogleBot Tracker Plugin for WordPress

by

If you want to find out which pages the googlebot is crawling on your wordpress blog then this FREE plugin should do the job nicely.
(more…)

How To Secure Your WordPress Blog

by

Here are some of my favourite top tips for keeping your WordPress website or blog more secure and less susceptible to malicious attacks.
(more…)

How To Add Recent Comments To Your WordPress Theme The Easy Way

by

When working with wordpress themes sometimes its handy to have little code snippets for dropping into your theme, this highly customisable snippet will grab your most recent comments and loop through them as many times as needed,
(more…)

RSS Feed Back Up & Running After XML Parsing Error In WordPress

by

After weeks off having no time to get any work done on the site, I decided to get this RSS feed working once again..

The Deadly occurrenceof that wordpress RSS feed message,

XML Parsing Error: XML or text declaration not at start of entity
< ?xml version="1.0" encoding="UTF-8"?>


This has haunted me, on and off for the last few months, I’ve tried all-sorts of various plugins, re-uploading a fresh copy of 3.1 along with the wp-admin & wp-includes folder, this still didnt work!!

Tonight I was reading some more and stumbled across an intresting piece(lost the bookmark) the fix, was to basically, download a copy of the ‘feed-rss2.php‘ (which is located inside the wp-includes folder), Open up the file and remove any white space, or check for white space which is located outside of the <?php brackets…

I’ve already tried a plugin, which was made to remove any white space, from all files across the entire install, while also backing up any file which has to be edited by the plugin, I did this, It returned a 0 error scan, after it finished fixing quite a few files…

So I opened my ftp editor, grabbed the file, removed any white space, not just outside the php tags, but also through-out the rest of the file, including the ending rss tag, (there was a few blank lines here) re-uploaded the file, JOB DONE!… the feed was back up in feedburner straight away!

Fantastic..

hopefully someone else with the same problem finds this easy fix and gets there feed working again…

UPDATE – !!
I spoke too bloody soon didnt I, The Feeds Broken again!!!
WILL THIS EVER GO AWAY

UPDATE 2 – !!
Its working again…

TwitVid PHP API Class Library With Examples

by

Today im releasing a little pet preoject of mine, which is a PHP based Class library for Twitvid.
(more…)

How to use AJAX to Query a MYSQL Database and Check availability of a username

by

Hi, Thanks for reading my article on how you can use the JQuery language, PHP and SQL to query your database searching for a username which is already taken and then if the username is taken show a nice fade in message without leaving that page…

(more…)

The Carsonified Golden Ticket

by

The folks over at Carsonified are holding a “golden ticket” competition for ONE person to get free access to all their events in 2009, one of these is an all-expense paid trip to one of there locations which will be hosting the event, I would love to have this chance to visit one of there events..
To do this i need 25 or more comments on this post, so please leave a comment below..
Total 25 needed before it can be submitted…

(more…)

Tutorial: How to setup the perfect WAMP,Windows Apache PHP & MySQL

by

In this tutorial im going to outline the best method for setting up a W.A.M.P, (Windows Apache MySQl & PHP) for a perfect windows development environment, any Web developer will tell you the amount of hassle and frustration of getting the operating system to work and function along side the other software which is needed to run local code, can be a total nightmare,

(more…)

How to Upload files with PHP

by

In this Tutorial im going to outline the process of how you can use a simple PHP script to upload files directly to your server, re-naming them and storing them in a chosen location, all from a very simple form which you can style and place anywhere on your webpages…

(more…)


Tracker by Hobo-Web