Hello,
I'm editing a script that produces a .png image, i want it to turn it into a
.html doc.
My first doubt is that i can't put the image in the html doc. The image is
stored in $im and i don't know how to put it in the doc.
ex:
print "Content-type text/html\n\n";
print "<HTML><img src=$im></HTML>;
I'm also trying to put this image in a file this way:
$file = 'c:\image.png';
open (INFO, ">$file");
print INFO "$im->png";
close (INFO);
But it doesn't work...
The second doubt is how can i put the content of a variable in the doc. For
example, if i have a valiable:
$file = 'c:\dir\asdf.asd',
Then i try to put in the doc this way:
print "<HTML><FONT>$file</FONT></HTML>";
But when i run it apears $file in the .html doc and i wanted to see
c:\dir\asdf.asd....
Thanks in advance,
Wagner
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]