Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 19th, 2000, 10:39 AM
Raul Escarcega Raul Escarcega is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 4 Raul Escarcega User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 43 sec
Reputation Power: 0
When I call the following link:
http://www.cancerstop.net/index_prueba2.cgi

with Netscape, the page will not render and it displays the html code produced by the script. With IE the page displays ok.

Does anybody knows how to fix this problem?

Thanks

Reply With Quote
  #2  
Old May 20th, 2000, 01:32 AM
Shiju Rajan's Avatar
Shiju Rajan Shiju Rajan is offline
.Net Developer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: London
Posts: 987 Shiju Rajan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 26 m 22 sec
Reputation Power: 9
Send a message via MSN to Shiju Rajan Send a message via Yahoo to Shiju Rajan


can we see the script???.


------------------
SR -
shiju.dreamcenter.net

"The fear of the LORD is the beginning of knowledge..."

Reply With Quote
  #3  
Old May 20th, 2000, 10:12 AM
d0g1e
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
My guess is that you left-out the line:
print "Content-type: text/htmlnn";
This line should be executed before any other print commands. It tells the server what kind of output to give, since Netscape recognises html documents by there .htm or .html at the end. IE accept any kind of extension.

-- d0g1e

Reply With Quote
  #4  
Old May 20th, 2000, 02:34 PM
Raul Escarcega Raul Escarcega is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 4 Raul Escarcega User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 43 sec
Reputation Power: 0
I checked my script and I had some print instructions before the print "Content-type: text/htmlnn";

That fixed the problem.

Thank you for your help, sometimes one misses the most obvious.

Raul

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > My perl script will not render on Netscape


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway