Categories
PHP

PHP Text Flipper Library

Have you seen some cool webapps where you can write English texts upside down?

I have found out the techniques. They just use some Unicode characters to do the trick. Unicode has a vast collection of characters and you have to find the right one that looks like an upside down english character.

I have written a PHP library to do the job .
Visit the demo at:
https://masnun.com/flipper/ 😀
Download the Library at:
http://masnun.googlecode.com/files/flipper.php 🙂

Here’s the source code of the demo:

PS: PHP and web browsers have some issues regarding Unicode data. So please ensure the “Content-type” is set to “text/html” and the charset is “utf-8” 🙂

Happy flipping 😀

6 replies on “PHP Text Flipper Library”

Comments are closed.