Solved

PHP websit template not working with Netscape for Linux

Posted on 2002-06-19
2
201 Views
Last Modified: 2006-11-17
Our PHP website template works for nearly all browsers (at least on Windows). We've tested with MSIE 5, Opera 5, Netscape 4.75, Netscape 6. However, there's a problem with Netscape on Linux (don't know what version as I could not find it on Netscape running on Linux) Linux sys we tested with uses RedHat (ver. 7 I think)

When requesting the template file, Netscape on Linux just closes on loading file. No errors given and I've browsed over the template files and they seem syntactically correct. Could it be a Netscape for Linux bug or does our template have problems? Below are URLs to template code:

Problem files:
http://www.engr.sjsu.edu/daluu/tmp/index.txt
http://www.engr.sjsu.edu/daluu/tmp/template.txt
Template.txt is the culprit it seems. Index.txt just references it.

Working (under Linux) older version:
http://www.engr.sjsu.edu/daluu/tmp/index_old.txt
This file has the template.txt code already embedded in it but is an older version. Pretty much similar though.

Template viewable on web:
http://www.engr.sjsu.edu/coe/template/
View source to see intended output from template upon processing.


0
Comment
Question by:daluu
2 Comments
 
LVL 5

Accepted Solution

by:
Hamlet081299 earned 50 total points
ID: 7094319
I doubt it is a PHP issue specifically.

As far as Netscape is concerned it will just be getting HTML source.

Is there any conditional source that specifically recognises Netscape on Linux?

If not, and the source generated would be the same as for Netscape on Windows then try loading the page in Netscape on Windows, and then look at the generated source.

You may want to post that source (or a link to it).

My gut feeling is that it'll be a specific Netscape on Linux bug, but without seeing the output it's hard to know.
0
 
LVL 4

Author Comment

by:daluu
ID: 7097216
We are trying to gear our template to support most browsers and so far, it is at least acceptable. However, we do not use any conditional checks for browser type to send a tailored version to the user's browser. The template loads ok in Netscape for Windows. Just not on Linux. And it works in Mozilla and Konqueror browsers for Linux though.

I'll look into viewing the source under Netscape for Windows. You can see the source at: (which I already posted above)

http://www.engr.sjsu.edu/coe/template/ 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now