【发布时间】:2012-08-29 05:21:58
【问题描述】:
使用 PHP 如何获得返回状态。消息是否已收到。我找到了这个文档,但是在使用 PHP 时它不是很有帮助:
http://blog.postageapp.com/tag/php/
我不确定,但这是否有效:
if($this->postageapp->send()==true){ # returns JSON response from the server
//do something,
}else{
//otherwise
}
谢谢
【问题讨论】:
-
将
var_dump($this->postageapp->send())与成功和不成功的尝试结合使用。
标签: php postageapp