本文介绍了PHP等同于XMLHtttpRequest函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PHP是否与JavaScript XMLHttpRequest函数等效:

.......

myrequest.open(''POST'',url,true );

........

myrequest.send(数据);


换句话说,我我想通过POST方法从另一个需要

的网页获取数据。


谢谢,

Edward Hass

Is there a PHP equivalent to the JavaScript XMLHttpRequest function:
.......
myrequest.open(''POST'', url, true);
........
myrequest.send(data);

In other words, I''d like to get data from another web page that needs to
receive input via the POST method.

Thanks,
Edward Hass

推荐答案



查看cURL功能。


-

======= ===========

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司


==================

Check out the cURL functions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================




您可能想看看这个流行的HTTP客户端类:



-


问候,

Manuel Lemos


Metastorage - 数据对象关系映射层生成器


PHP类 - 免费准备使用OOP用PHP编写的组件

You may want to take a look at this popular HTTP client class:

http://www.phpclasses.org/httpclient
--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/



这篇关于PHP等同于XMLHtttpRequest函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 08:43