tommycahir1
Programmer
hi all
i new to cgi and html and i am just trying to write a cgi script that shows an image to the screen.. the image is located in the same folder as the script but it aint appearing on screen .. the alt text is though..
shown below is the code that i have so far. this code is part of a much larger cgi script which will call this function to output the image mulitple times
print header;
print qq(<html>);
print qq(<head>);
print qq(<title>Results</title>);
print qq(</head>);
print qq(<body bgcolor = lemonchiffon>);
print qq(<CENTER><H1>Results</h1><CENTER><br><br>);
print qq(<h3><img src = "/A.jpg" alt = "should be pic ere"></h3>);
print qq(</body>);
print qq(</html>);
any help would be greatly appreciated..
tanx
tommy
i new to cgi and html and i am just trying to write a cgi script that shows an image to the screen.. the image is located in the same folder as the script but it aint appearing on screen .. the alt text is though..
shown below is the code that i have so far. this code is part of a much larger cgi script which will call this function to output the image mulitple times
print header;
print qq(<html>);
print qq(<head>);
print qq(<title>Results</title>);
print qq(</head>);
print qq(<body bgcolor = lemonchiffon>);
print qq(<CENTER><H1>Results</h1><CENTER><br><br>);
print qq(<h3><img src = "/A.jpg" alt = "should be pic ere"></h3>);
print qq(</body>);
print qq(</html>);
any help would be greatly appreciated..
tanx
tommy