I think I understand but can somebody confirm

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

xplodersuv
New php-forum User
New php-forum User
Posts: 4
Joined: Wed Feb 26, 2003 8:40 am
Location: CA
Contact:

I think I understand but can somebody confirm

Postby xplodersuv » Thu Feb 27, 2003 5:10 pm

From what I understand, PHP is compatible with every browser because the interpretation of the script relies completely on the sever the script runs on because the browser only gets the results of the script.

My Questions...
Is this correct?
Is PHP as super-cross-browser-compatible as i think it is?
If I change hosts who use a different server os will I need to change my code????

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Postby Redcircle » Thu Feb 27, 2003 11:55 pm

It all depends on the new servers configuration. PHP version, Webserver version etc.

Because each server can have dramatically different setups the only way to know is to try and tweak the scripts so they will work.

User avatar
pootergeist
New php-forum User
New php-forum User
Posts: 191
Joined: Wed Jan 29, 2003 7:11 am
Location: UK
Contact:

Postby pootergeist » Fri Feb 28, 2003 2:28 am

a browser does not (and cannot) execute PHP code - a browser just displays html/xml/xhtml/css/javascript/ + whatever plugins are configured.

so......

as long as your PHP script is sending out perfectly valid html (or whatever) for the browser that is requesting the output, then the page will render perfectly.

PHP doesn't (and cannot) cure badly coded html.


Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest