Browsing category: PHP

Permalink to Using PHP & MySQLi With A MySQL Database Part 1

Using PHP & MySQLi With A MySQL Database Part 1

On 04.28.2010 by Paul Robinson | 10 comments

Learning how to connect to a MySQLi database is pretty much an essential part of learning PHP in today’s database heavy web development scene. Here is a small tutorial to teach just how it’s done.

Permalink to Parsing A RSS Feed With PHP Using SimpleXML

Parsing A RSS Feed With PHP Using SimpleXML

On 04.27.2010 by Paul Robinson | 1 comment

XML is used for all types of thing, one of the most commonly known is for RSS feeds. Using PHP & SimpleXML you can parse that feed or any XML file to grab the data and manipulate it however you want. Here’s how it’s done.

Permalink to Using MySQL To Search For Any Word In Any Order

Using MySQL To Search For Any Word In Any Order

On 03.11.2010 by Paul Robinson | 2 comments

A limitation with searches using MySQL is that when using LIKE to find the words queried it will only find them if they are together in the same order they were written. Here is how to change that so the words are found in any order.

Permalink to Adding File Caching To Your Twitter API Script

Adding File Caching To Your Twitter API Script

On 02.24.2010 by Paul Robinson | 6 comments

In our last tutorial we created a script to connect to the Twitter API, collect our tweets & display them in some simple paragraphs. In this part we are going to add a very important part, file caching. This will stop our script from running out of API requests.

Permalink to Connecting To Twitter API Using PHP

Connecting To Twitter API Using PHP

On 02.23.2010 by Paul Robinson | 6 comments

Showing your Twitter timeline, or even just your most recent status update, is becoming increasingly popular. Doing it on a WordPress blog is simple with plugins, but what if you want to do it on a non-WordPress website? Here’s how.

Permalink to Creating A Wikipedia Style Search

Creating A Wikipedia Style Search

On 02.18.2010 by Paul Robinson | 1 comment

So you want to create an intelligent search for your website? By intelligent you are, of course, talking about the way Wikipedia sends you to the correct page should an exact match be found. Well you’re in luck, here is an easy way to do it using PHP & MySQLi.

Permalink to Adding A Twitter Social Bookmark To Your Blog

Adding A Twitter Social Bookmark To Your Blog

On 02.17.2010 by Paul Robinson | no comments

Twitter is exceptionally popular for promoting your blog, or business. Having a Twitter social bookmark icon on your blog enables visitors, or even yourself to tweet the current blog article you are reading very quickly & easily. Here is how to create one.

Permalink to Using cURL With PHP To Fetch A Webpage

Using cURL With PHP To Fetch A Webpage

On 02.08.2010 by Paul Robinson | no comments

With APIs such as Twitter’s becoming more & more popular connecting to a webservice or webpage in a script is now a common request. As such here is how to fetch a webpage via PHP using cURL.

Permalink to WordPress Plugin: Twitter Stream

WordPress Plugin: Twitter Stream

On 12.30.2009 by Paul Robinson | 113 comments

Twitter Stream is a very simple Twitter plugin designed to easily show your Twitter timeline on your website. It features @reply & #tag highlighting, ‘time ago’ dates & customiseable CSS. Twitter Stream now includes retweet support.

Permalink to Using Timthumb with Imagemagick

Using Timthumb with Imagemagick

On 12.27.2009 by Paul Robinson | 7 comments

Timthumb is an extremely popular thumbnail regeneration script, with built in caching. While it is an excellent script, it relies on GD which when combined with large images & a shared server is a disaster. Here is how to adapt timthumbs to work with ImageMagick.


Page 2 of 512345