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

Java发布到Localhost PHP服务器

I have a java script that generates strings on my data. Is there any way I can use POST on my Xampp Localhost PHP to receive the data string from the java program and echo it out on my PHP page?

You can use the HttpURLConnection object to make a request to localhost. Please see this question and this tutorial.

近期文章

  • 用preg_match提取一些html
  • php mail()删除CC,BCC和安全性
  • 检查用户是否单击了按钮
  • Codeigniter从模型输入简单认证系统的会话数据
  • PHP REST服务抛出异常 - 希望避免控制台错误
  • too long
  • PHP日历显示几个
  • 用android访问数据库时400 Bad Request
  • 从SoundCloud自动显示多个播放列表
  • IOS DES加密和PHP解密无法可靠地工作
  • 无法访问图像
  • 如果没有选择任何内容,请从php中的下拉列表中选择所有值
  • 将MySQL数据存储在文本文件中,如果行数超过100,则自动创建新文件
  • 在Godaddy Linux主机上编辑PHP5.INI文件[重复]
  • 使用PHP回显XML文件内容
  • filenet 传输流程时 报 : 属性表识 VWVersion 对于类Document 无效。 这个是什么原因造成的?
  • wordpress插件的问题
  • Http表单输入值如上所示
  • 扩展ad.fly链接?
  • show exec返回值

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华