Cufon: a way to use non websafe fonts on a webpate

Cufon is a method to convert standard font files into JavaScript code which then uses CANVAS to render fonts on a website. This method works in all major webbrowsers, including old Internet Explorer 6.
To use this method you should first convert your font file using this generator. Then include you JS font file and Cufon renderer in the HEAD section of your websites.

PHP: How to safely include file with possible parse errors?

Recently I had written a class and it had to save bits of information somewhere. I wanted to make the script installable just by placing it on a server so I didn’t want to use any database. Instead I figured out I should save the data in a simple file. I could use serialize and file_put_contents which is very easy to write, but modifying such files manually in a text editor is a nightmare. So I decided to save the contents in a PHP file.
Unfortunately if there is an error in such file you will get parse error when including it.

 
TopOfBlogs Web Development & Design Blogs