PHP with old browsers
I have now starting to get to grips with PHP, but one thing I have thought, what if a viewer of a newly created PHP website has a really old browser (more than 5 years old), can they still view it as it comes to them as HTML code?
Would I need to put in code to detect how old the browser in? Persumably this applies to any Server-side code (ASP, etc)?
Any thoughts?
chrishirst posted this at 19:59 — 1st August 2005.
He has: 379 posts
Joined: Apr 2005
Nope. server side code is just that, server side. it never gets to the browser.
IanD posted this at 00:12 — 2nd August 2005.
They have: 222 posts
Joined: Sep 1999
All the PHP is rendered on the server and then the results are sent to the user's browser, so the user sees it exactly the same as they would if it were just regular HTML.
Fighting for a Lost Cause.net
Renegade posted this at 06:16 — 2nd August 2005.
He has: 3,022 posts
Joined: Oct 2002
You might want to try focusing on getting the HTML and CSS looking right on older browsers.
Like already mentioned, PHP is a server side language, browser doesn't really matter.
debchall posted this at 09:31 — 2nd August 2005.
She has: 6 posts
Joined: Jul 2005
What effect does xhtml have on older browsers? How can you test on older browsers?
Renegade posted this at 09:46 — 2nd August 2005.
He has: 3,022 posts
Joined: Oct 2002
XHTML would have minimal effect on older browsers, it's basically HTML just more strict.
To test, you'd probably have to find someone with the browser and view it in there, download/install the program(s) yourself and view it there or, alternatively, you would find one of those sites that offer that is a service.
chrishirst posted this at 10:37 — 2nd August 2005.
He has: 379 posts
Joined: Apr 2005
Browser Archive at Evolt.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.