Home > Archive > dBASE Web Applications > April 2005 > Netscape and .dbw









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Netscape and .dbw
Dan Barbaria

2005-04-11, 8:23 pm

I have a .dbw when requested using IE or Safari works as expected. In
Netscape the source code of the HTML page returned by the .dbw is displayed.

Has anyone seen this? What should I look for to fix this problem.

Thanks
Dan Barbaria


Michael Nuwer [dBVIPS]

2005-04-11, 8:23 pm

Dan Barbaria wrote:
> I have a .dbw when requested using IE or Safari works as expected. In
> Netscape the source code of the HTML page returned by the .dbw is displayed.
>
> Has anyone seen this? What should I look for to fix this problem.


I'll take a guess. Netscape 4 (maybe 7 too) is less forgiving than IE
(I've not used Safari) with regard to HTML formats. So be user you are
streaming all the starting and ending tags. In particular:

<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>

Also be sure that you are streaming the CGI header:

puts('Content-type: text/html')
puts('')


--
Michael Nuwer
http://www.nuwermj.potsdam.edu/dLearn/
http://www.nuwermj.potsdam.edu/dSamples/
Dan Barbaria

2005-04-12, 8:23 pm


"Michael Nuwer [dBVIPS]" <nuwermj@nospam.please.yahoo.com> wrote in message
news:BwYy7xtPFHA.1528@news-server...
> Also be sure that you are streaming the CGI header:
>
> puts('Content-type: text/html')
> puts('')


Thank you Michael

I don't know why but for some reason I had coded
puts('<Content-type: text/html>')
rather than
puts('Content-type: text/html')

Now Netscape works.

Dan Barbaria



Michael Nuwer [dBVIPS]

2005-04-13, 7:23 am

Dan Barbaria wrote:
>
> Now Netscape works.


Glad you found the problem. Best wishes, Dan!

--
Michael Nuwer
http://www.nuwermj.potsdam.edu/dLearn/
http://www.nuwermj.potsdam.edu/dSamples/
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com