CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Generating images

 



husbil
Deleted

Feb 15, 2001, 1:34 PM

Post #1 of 3 (132 views)
Generating images Can't Post

I have a Perl problem. I want a Perl script to generate a html page.
I do this by printing the cod of a html page. For example:
print<<END;
<html>
<body bgcolor="#000000" text="#ffffff"
<center>
<h2>Test</h2>
</center>
</body>
</html>
END
I have successfully done this, but the images on the generated html page doesn't show. What is the problem? Please help a desperat man!




muinatit
Deleted

Feb 15, 2001, 3:11 PM

Post #2 of 3 (128 views)
Re: Generating images [In reply to] Can't Post

Probably the wrong location of the image. And make sure you have a...


Code
print "Content-Type: text/html\n\n";

Jeffrey "muinatit" Lamoureux
muinatit@hotpop.com


SirAnvil
Deleted

Feb 16, 2001, 7:38 AM

Post #3 of 3 (122 views)
Re: Generating images [In reply to] Can't Post

I don't see an image tag nor do I see a closing tag ">" for the body. If this was a cut and paste from your code, that may be why... If it's just an example of what your doing, perhaps a cut and paste would be helpful

SirAnvil
www.christiangamers.org

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives