Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgi/img prob

Status
Not open for further replies.

tommycahir1

Programmer
Feb 20, 2004
34
0
0
IE
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top