我的浏览器返回我的PHP代码而不是表单输入 [英] My Browser gives back my php code instead of form inputs

查看:45
本文介绍了我的浏览器返回我的PHP代码而不是表单输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,有人可以帮忙吗?

我使用Windows 7,我安装了Apache,php,MySQL和phpMyAdmin都测试好了,但我的浏览器给了我同样的PHP代码(。 php)文件而不是表单输入。任何人都可以帮忙吗?

Hi guys, can anyone help?
I use Windows 7, I installed Apache, php, MySQL and phpMyAdmin all tested OK, but my Browser give me back the same php code in my (.php) file instead of form inputs. Can any one help?

推荐答案

你需要发布你的代码,这样我们就可以看出出了什么问题。
You need to post your code, so we can see what is wrong.


怎么样?你访问你的页面?您必须通过服务器的端口访问它。你不能只打开文件。
How are you accessing your page? You have to access it through the server''s port. You can''t just open the file.


这是我的代码:
here is my code:
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号


这篇关于我的浏览器返回我的PHP代码而不是表单输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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