PHP等同于XMLHtttpRequest函数 [英] PHP equivalent to XMLHtttpRequest functions

查看:62
本文介绍了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

推荐答案

Edward Hass写道:
Edward Hass wrote:

是否有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计算机培训公司
js ******* @ attglobal.net

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

Check out the cURL functions.

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


你好,


于12/30/2007 08:09 PM Edward Hass说如下:
Hello,

on 12/30/2007 08:09 PM Edward Hass said the following:

是否有PHP等效于JavaScript XMLHttpRequest函数:

......

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

.......

myrequest.send(数据);


In换句话说,我想从另一个需要通过POST方法接收输入的网页获取数据。
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.



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

http://www.phpclasses.org/httpclient

-


问候,

Manuel Lemos


Metastorage - 数据对象关系映射层生成器
http://www.metastorage.net/

PHP类 - 免费准备使用OOP用PHP编写的组件
http://www.phpclasses.org/

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/


" Edward Hass" < ne ******* @ magiciandb.com写信息

新闻:2GUdj.606
"Edward Hass" <ne*******@magiciandb.comwrote in message
news:2GUdj.606


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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆