Category: PHP

Post Pic

Using MySQL To Search For Any Word In Any Order

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.

Post Pic

Adding File Caching To Your Twitter API Script

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.

Post Pic

Connecting To Twitter API Using PHP

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.

Post Pic

Creating A Wikipedia Style Search

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.

Post Pic

Adding A Twitter Social Bookmark To Your Blog

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.

Post Pic

Using cURL With PHP To Fetch A Webpage

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.

Post Pic

WordPress Plugin: Twitter Stream

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.

Post Pic

Using Timthumb with Imagemagick

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.

Post Pic

Match All Image Tags Using REGEX

While I am busy with the update of The Attached Image (which is taking a while) I thought I’d write a post about something that is commonly searched for, or so I’ve read. Matching image tags using REGEX can be difficult, but I’m here to, hopefully, make it easier.

Post Pic

Kohana Designers Tip: Twitter API

Ok so I personally am not much of a designer, to be frankly honest I’m rubbish at it. So when it comes to designing things I turn to Lisa Marie of lisa-marieart.com, mainly because she is my sister, but also because she’s an amazing designer. Anyway she is currently redesigning her website using Kohana & [...]

Page 1 of 3123»

£88.06 / £1200

Help me buy an iMac so I can develop iPhone/iPod apps. If you would like to donate, or you want to learn more about why I started this fund click here.

We're Talking About...