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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Generating images in more detail



Feb 16, 2001, 10:09 AM

Post #1 of 2 (188 views)
Generating images in more detail Can't Post

I wrote that I had a Perl problem, but I did not explain my self good enough.
So her is the problem again in more detail. I want a Perl script to generate a html page.
I do this by printing the cod of a html page. A simplifyed example:

#I have perl on my computer

print "Content-type: text/html\n\n";


<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body bgcolor="#FFFFFF">
<img src="Test.gif" width="114" height="100">


This work, but the images on the generated html
page doesn't show. I have the images in the right folder,
so that's not a problem.
What is the problem? Anybody?


Feb 16, 2001, 1:58 PM

Post #2 of 2 (185 views)
Re: Generating images in more detail [In reply to] Can't Post

I did a direct cut and past of your code on my server and run it. The only thing I changed of course was the location of my perl interpreter (sp) and the name of the .gif to cgrbanner.jpg. It worked perfect. I'm running this on a Linux/Unix system so I'm not sure what the problem is. Can you run it from the command line? If so, does it just spit out a bunch of HTML looking tags (as it should)?



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

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