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

将PHP代码用于访问我们编写表单的同一脚本中的数据库是否安全

Is it safe to put php code for accessing a database in the same script that we have wrote the form? For example $_PHP_SELF...? I mean the fact that we stop need another script from a server (that no none can read)and using the same code on the same file doesnt this make everyone able to see the code and our passwords for example mysqli_connect("server","asdfsa",code"...... thanks...

近期文章

  • 不能使用CRUDController
  • FQL没有返回任何内容
  • 将.sql文件导入mysql数据库
  • 在xhr.send()帖子中发送$ _SESSION ['id']
  • 添加动态输入并将数据插入MySQL
  • PHP替换多个单词
  • Joomla $ this-> get('Form')返回NULL
  • PHP - 将视频上传到特定的Facebook相册
  • Facebook登录因IP和主机更改而中断
  • 管理区域错误ERR_TOO_MANY_REDIRECTS(chrome)
  • Amazon S3:putObject未更新
  • 为什么cURL不将数据发送给salesforce?
  • 自定义插件的自动加载不起作用
  • PHP:在PHP中使用Curl将值发送到HTML表单
  • 更改Laravel 4 Guard类的功能
  • 如何将我的帖子数据存储到PHP中的文本文件?
  • IIS访问同一域中的远程服务器
  • firefox上的Google Experiment A / B黑客错误
  • php获取特定的json数组元素标记
  • .htaccess文件不允许POST函数处理

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华