Archive for the ‘php’ Category

On November 1st, 2008 milburn wrote…

Instant Quiz beta release

I have been working on this project for a few months so I am very happy to announce that Instant Quiz is live. Instant Quiz is an application which creates quizzes for you to share with friends, colleagues or students. Please sign up and try out the application. I would much appreciate any feedback or criticism to help improve the site.

Instant Quiz is still work in progress so some features haven’t been implemented yet. Quizzes don’t show answers and the quiz UI may change. In the next few weeks I am going to try and hook Instant Quiz up with Facebook so Facebook users can create quizzes for their friends to take.

On June 11th, 2008 milburn wrote…

Virtual Host with XAMPP

I like to develop my own PHP scripts and small applications. Up to now I’ve been uploading them to my online server. Of course that is bad practise because a small bug may open up a large security hole. My test scripts are reducing the security of things like my blog. So I’ve decided to use XAMPP to develop my scripts on my home computer before deploying them to the web.

If you’ve not heard of XAMPP it stands for

  • X (meaning cross-platform)
  • Apache
  • MySQL
  • PHP
  • Perl

Read the rest of this entry »

On June 5th, 2008 milburn wrote…

The Anaglyph Creator

Having detailed how to create a script using the GD image library to create anaglyphs, I decided to create a webpage for those people not lucky enough to have their own web hosting. The page is very simple and it works similarly to the previous script.

Any online tool is vulnerable to abuse but their are a number of precautions I needed to take. Firstly I needed to make the script secure. I don’t want people hacking my site through a little script I wrote just because I couldn’t be bothered to make it secure. On the contrary to what most people think, making file uploads safe isn’t too difficult. Firstly I make sure tat the user has uploaded to files and no upload errors occurred using the following if statement.

Read the rest of this entry »

On June 3rd, 2008 milburn wrote…

Creating Anaglyphs with PHP

I created some stereographic pairs yesterday and used some online software to create an anaglyph for viewers with red and cyan glasses. Creating anaglyphs is in fact a really easy task. All that has to be done is to separate the red layer from the left image and the green and blue layers from the right image. Finally the three layers are combined to create a colour anaglyph. Simple.

Having a little experience with PHP, I decided to create a simple script to create anaglyphs. First I needed to plan out how the script was going to work. The GD library has no native image filters except in PHP5. My plan works like so.

Read the rest of this entry »

Proudly powered by WordPress with plane theme by me! | © 2007 - 2019 Thomas Milburn | Valid CSS and HTML