<?php // will read the ASCII code in linux.txt & convert it to normal data // then we will print it to screen by $test->data require "Shref_ASCIIimg.class.php"; $test = new Shref_ASCIIimg("linux.txt","from") ; print $test->data ; //****** ps: if you was printing an image to screen don't output any thing // before it ?>