Tag Archives: php

Retrieving a YouTube video id from Embed Code using Javascript and PHP

I have been working on a project and came across a feature in my website that would need to take YouTube embed code or even a url and extract the video id for storage in a database. Continue reading

Filed Under: Blog, Code Share
Tags: , , , , , ,

Sanitising variables to avoid XSS (Cross Site Scripting) attacks using PHP

Shows a developer how to handle their variables safely and securely using a helpful validation script. Continue reading

Filed Under: Blog, Code Share, Security
Tags: , , , , , , , , ,

Using the Amazon S3 Service and PHP

Takes you through how to manipulate and transfer image files to the Amazon S3 service without the need to write files to your server. Continue reading

Filed Under: Blog, Code Share, Media
Tags: , , , ,

Two Way Encryption Using MySQL 5 & The Advanced Encryption Standard (AES)

Recently I was asked to implement two way encryption security for data that we gathered on a campaign, which we stored in a MySQL table running on one of our servers. Continue reading

Filed Under: Blog, Security
Tags: , , , , ,

Integrating Twitter search into your WordPress blog

Recently we had to add a Twitter stream to one of our Facebook tabs for a campaign. I thought I would share with you php code that uses a short code in your Wordpress post and dynamically creates a twitter search panel based on a search term you specify. Continue reading

Filed Under: Blog, Code Share, Social, Wordpress
Tags: , , , ,

Image Resizing With PHP – EXIF Orientation Fix

I have been working on a project recently that has incorporated an upload mechanic for images uploaded to our website. The images are then resized into a dimension box that I pass to a function. This then builds out these images from the original uploaded. Continue reading

Filed Under: Blog, Code Share
Tags: , , , , , ,

Extending Ian Selby’s RESTful API in PHP – Part 2

This blog post follows on from Extending Ian Selby’s RESTful API in PHP – Part 1 and will talk about how to add security to your selected API calls. Continue reading

Filed Under: Blog, Code Share
Tags: , , , , , , , , , , ,

Extending Ian Selby’s RESTful API in PHP – Part 1

On a recent project which can be found here I was tasked to build an API so that a series of applications could make calls and log achievements into a centralised database from several locations. Continue reading

Filed Under: Blog, Code Share
Tags: , , , , , , , ,

Building A Facebook Application With AMFPHP

Shows you how to connect a Facebook application to an AMFPHP gateway. Continue reading

Filed Under: Code Share, Latest Projects
Tags: , , , , , , , ,

Rewriting a URL without using the ID with PHP & MySQL

Rewriting a url using the id in a database with PHP and MySQL. Continue reading

Filed Under: Code Share
Tags: , , , , , ,