所有浏览器都具有PHP通用性? [英] Is PHP universal in all browsers?

查看:88
本文介绍了所有浏览器都具有PHP通用性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PHP作为基于电子邮件的订单,使用 mail()。由于PHP是服务器端的,这是否意味着没有任何情况下PHP将无法与计算机通信?

在任何浏览器中是否有像JavaScript一样的禁用PHP选项?我能指望每一台能够访问互联网的浏览器(或者至少做最好的事情)与PHP服务器通信吗?

解决方案 PHP与浏览器无关,它是一种服务器端语言。 PHP代码在服务器上执行,生成HTML然后发送给客户端。客户端将收到运行该脚本的结果。

检查此链接什么是PHP ?




I'm using PHP for an email-based order form using mail(). Because PHP is server-side, does this mean that there are no circumstances that PHP wouldn't be able to communicate with the computer?

Is there a "disable PHP" option in any browsers like there is with JavaScript? Can I count on every browser with internet access being able to (or at least "doing it's best to") communicate with the PHP server?

解决方案

Yes, PHP will work in all browsers.

PHP has nothing to do with browsers, its a server side language. PHP code is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script.

check this link What is PHP?

这篇关于所有浏览器都具有PHP通用性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆