On Mon, Sep 30, 2002 at 05:05:31PM +0200, Davide Copelli wrote: > I am using this script to print an image using <img> tag > > print "Content-type:image/gif\n\n";
You should have a space between the colon and the "i": print "Content-type: image/gif\n\n"; > @gifdata = `cat $giffile`; > print @gifdata; > > The problem is that it works on unix but not on windows operating sistem Because there is no Windows program called "cat". > Can someone give me an altenative way to print an image without extra perl > modules ? Try just opening the file to read, e.g. open FILE, "< $giffile"; print <FILE>; close FILE; David Henderson -- For news about Trek books and Enterprise, visit Psi Phi! Star Trek Books: http://www.psiphi.org/cgi/upc-db/ Enterprise Site: http://enterprise.psiphi.org/ <*>