RSS Feed

Detect if user input contains prohibited tags

Inspired by my previous article on XSS I thought I’d show a quick, simple and nice way to detect if user input contains some form of script or prohibited tags.

Thankfully PHP developers have a function known as strip_tags. This function strips any tags. Anything contained within the “<” (less than) and “>” (greater than) brackets are stripped from the provided string.

Posted in PHP

A look into exploitation: XSS

XSS, also known as CSS (Cross-Site Scripting, not Cascading Style Sheets) is actually one of the most common forms of web application vulnerability, and is becoming just as popular as SQL Injection.

General overview

Attackers can inject HTML, JavaScript, VBScript, Flash or any other web based script that executes on the end users browser. An XSS attack can provide a malicious user with the ability to hijack users accounts, show false information (such as forms that look fine but actually result in malicious activity) as well as redirecting the user to potentially fraudulent websites.

Posted in Development

Large corporate websites stop supporting IE6, should you?

In the last 6 or so months some of the largest websites on the Internet today have stopped supporting Internet Explorer 6, does that mean that we should too?

Google, an extremely large corporation which owns and develops a great deal of web apps, widely used throughout the business world have stopped supporting Internet Explorer 6, could that be saying something?

Posted in Browsers

Strong password generation

Trying to think of strong passwords isn’t an easy job, at least, not for most. Even harder is trying to remember the strong, random password you have chosen – at least it was until I found Strong Password Generator.

This strong password generator will not only generate a random password for you but will also try and provide an easy way for you to remember it.

Posted in Reviews

Tar and compress in one easy step

When taring files and directories the chances are you will want to compress the archive as well. Here’s how to do it quickly, in a single command:

tar -czvf archive.tgz directory

Posted in Linux

Five awesome 404 pages

Every now and again I will come across an awesome 404 page, either accidentally or in result of being pointed to it by a peer. Here is a collection of the 404 pages I think are worth taking a look at.

404 pages can give great amusement but more importantly they give great inspiration.

Gratefully not everything in the business world needs to be straight forward and formal, a little light hearted page goes along way.

Posted in Reviews

Executing a command with input from find output

Files on Linux can be found in quite a few different ways, two of the more common commands are find and locate. Personally I tend to use find more so over locate due to the higher search-ability and actions available through the command, one of which is executing another command based on the output of find. This is where this howto comes in.

Posted in Linux

Review: iSlayer’s iStatMenu

Being the beginning of the working week I thought I’d start it with a review of iStat.

For the past 6 or so months I have been using iSlayer’s iStatMenu on my Macs and I’ve got to say that it’s pretty awesome. Oh, and its completely free!

Posted in Reviews

Know when to use double quotes – A second look

Based on the response I got from JaTaMan I thought it would be a good idea to add an additional post about single and double quote usage in PHP.

JaTaMan pointed out that a colleague of his used the new line special character in single quotes not knowing that single quotes are literal, what you see is what you get. Because of that I have listed some more detailed examples of usage between single and double quotes – basic but strict standards.

Posted in PHP

10 facts you may or may not know about PHP

Here are some interesting facts you may or may not know about the PHP programming language. Be warned, these facts are probably not worth bringing up at your friends party – Unless you happen to be at party specifically for us type of geeks.

Fact one – Release date

PHP was initially released on June 8th, 1995 however development started in 1994.

Posted in Funny
Page 6 of 8« First...45678