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

从命令行预执行设置PHP全局变量?

I'm in the process of making a custom webserver in Java, and right now I'm getting PHP to work. The problem I'm having, is that while I can throw the PHP file in command line and get a parsed result, and that's all fine and dandy, how do I start throwing in things like GET/POST/SERVER variables? Streams from the connection? I want to make all PHP scripts compatible, but online I have found very little documentation on how to accomplish this.

近期文章

  • 使用codeigniter使用ajax / jquery将项添加到下拉列表中
  • Doctrine2中所有对象的全局基础对象的优缺点
  • 使用数据库中的数据为下拉框添加输入字段按钮
  • 将多个复选框值添加到单个行中的多个列
  • PHP线程不会结束
  • 如何通过PHP加载HTML文件并从mySQL插入数据? [关闭]
  • 我想为jQuery的每个命令添加一个滚动和无限滚动
  • 使用 和php和pdo时,源代码输出没有正确缩进
  • php中的unicodeEncoding.GetBytes
  • WP插件中的嵌套函数
  • 什么是首选,checkhout或IPN发送?
  • 链接到加密的密码文件
  • 链接到include_path中的文件
  • AJAX调用php更改密码表单
  • 在服务器端执行php操作
  • 如何按类别获取Wordpress帖子?
  • 把Solraw中的Crawled数据和mysql数据放在一起
  • 会话超时弹出 - 如何将JavaScript放入PHP?
  • Mac OSX终端不显示PHP异常
  • 在PHP变量中获取自定义HTML标记

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华