我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

外部PHP文件[重复]

This question already has an answer here:

  • How to call a php function? [closed] 2 answers

I have an HTML form that will be used on many webpages, so I want to use an external file for PHP rather than adding the PHP to each HTML page. I have one question:

How can I make it so when the "submit" button in an HTML form is clicked, a function (or the whole code) from an external PHP file will run?

</div>
<form action="your_php_file.php" method="post">
    .. your stuff ..
</form>

近期文章

  • Laravel 4链接
  • 找到IP的最佳选择[重复]
  • 为什么我的mysql查询需要太长时间才能产生结果
  • PHP'包含'功能错误
  • 将变量从页面传递到页面
  • 如何分开(查询和PHP)[关闭]
  • 任何人都知道如何在CSS中编写PHP
  • 内部链接重定向到另一个页面
  • 如何获得其近似值的唯一数组
  • PHP:在文件夹和维度中查找php文件
  • 在PHP中使用mail()函数放置链接? [关闭]
  • 在PHP中访问函数外部的数组值
  • 在新的浏览器/窗口上点击提交按钮后打开PHP操作
  • 阻止Single.php显示wordpress中的所有博客帖子
  • 结果中的PHP表
  • 在PHP中动态构建Json [关闭]
  • 使用MySQL和PHP检索每个注释的五个响应
  • 如何在下一页显示成功记录? [关闭]
  • cakePHP:从tmp_name中提取没有文件路径的文件名
  • 自动查看新增数据[关闭]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华