I am trying to write a CGI application for perl and I am having problems with netscape just printing out the html tags and not the form. It...

How It Works

Get an answer in three easy steps. Here's how it works...

Ask Your Question

1. Ask Your Question

Enter your programming question at the top of this page and click Get An Answer.

Pick Your Priority

2. Pick Your Priority

Tell us how quickly you want your programming question answered.

Get An Answer

3. Get An Answer

Connect with your programmer via online chat or telephone call.

Answer

Customer
I am trying to write a CGI application for perl and I am having problems with netscape just printing out the html tags and not the form. It shows the form with internet explorer but most of our users are using netscape. Here is what im doing: print qq! Equipment Availibility !; Can anyone tell me why netscape and how to correct this code and make it work for Netscape?
Posted
Matthew Pomar
Customer Support
Try specifying the content type that gets written back to the client browser: Hope this helps! Regards, Matthew Pomar
Posted
Customer
I added that to the html code but netscape is still just printing out the html tags and not the working form. Any other suggestions that you can make as to why it is not printing out the form. I found that copying the html code and saving it to a file worked to show the page but id like to not have to do that.
Posted
chris717
Programmer
You didn't post the entire output which makes interperting it difficult. You didn't close the body tag for starters. Include the rest so we have the entire picture.
Posted
Customer
I got it working. i had to add the line: print "Content-type: text/html \n \n"; to the beginning of each html form for netscape to read it as html and not print the tags out. Thanks for your help everyone.
Posted

quoteTestimonialsquote

About ExpertHelp

ExpertHelp is changing the way you connect with service professionals.

Whether you have a quick question while preparing your taxes, troubleshooting a computer problem, or need to hire an attorney, ExpertHelp is the most convenient and affordable way to connect with the right service professional to get the job done.

ExpertHelp has been in business since 2011, is an A+ Rated Better Business Bureau accredited member, and offers a 100% satisfaction guarantee on every question you ask!

More Programming Questions...

Ask Your Programming Question & Get An Answer Now!