English 中文(简体)
PHP客户与阿帕帕奇·图拉·普兰西联系
原标题:PHP client to communicate with Apache Thrift API

我是PHP开发商,在一个将与阿帕奇·图拉普森服务器通信的网站工作,因此,我想知道,现在有几类或某种方式,我可以用来与PHP的Thrift AP通信。 我看到了在Zahur案中撰写的利用Tsocket的例子,但我不知道PHP是否有Tsocket级。 因此,如果有些人做了这种工作,请张贴一些样本,或介绍我可以用来在PHP中执行漂亮的APIC客户的某些类别。

预先感谢大家的努力。

最佳回答

如在评论中所示,你应使用fsock open,因为它提供了低水平的入计机会,就像Pythons TSocket。

问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签