方法POST [英] Method POST

查看:70
本文介绍了方法POST的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过Sams教你自己的库中的PHP,MySQL和Apache这本书。在页面202上练习它创建一个HTML输入屏幕,然后将变量传递给php。当我尝试我的时候会打开我的PHP列表,但不会将其显示为网站。任何帮助将不胜感激。

解决方案

你如何打开它?


Dormilich这是html中的代码行form form action =" send_simpleform.php"方法= QUOT; POST" ;.接下来会发生什么,打开.php文件进行编辑,而不是编写html表单的网页。


我去了书CD,从那里复制代码,想也许我有一个打字错误,我没有看到。这些文件和我的文件一样。


建议?!


你是通过http&本地主机?

I am working thru the book PHP, MySQL and Apache from the Sams teach yourself library. On page 202 the exercise it to create an HTML input screen and then pass the variables to php. When I try my it opens my PHP listing but does not display it as a website. Any help would be appreciated.

解决方案

how do you open it?


Dormilich this is the line of code in the html form form action="send_simpleform.php" method="POST". What happens next then it that the .php file is opened for editing instead of being the web page parroting what was written the html form.

I went to the book CD to copy the code from there thinking maybe I had a typing error that I wasn''t seeing. Those files work the same as mine.

Suggestions?!


are you calling the file via http & localhost?


这篇关于方法POST的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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