0
親愛的支持者連接,問題的捲曲與IP地址的Zend
$data=array(
"themeName"=>"gghg"
);
$adapter = new Zend_Http_Client_Adapter_Curl();
$adapter->setConfig($curlOption);
//instantiate the http client and add set the adapter
$client = new Zend_Http_Client("http://50.55.146.221/curl_page.php");
$client->setAdapter($adapter);
//add the post parameters from our config file (the authentication part)
$client->setParameterPost($data);
//perform the post, and get the response
$response = $client->request(Zend_Http_Client::POST);
錯誤:
Fatal error: Uncaught exception 'Zend_Uri_Exception' with message 'Invalid URI supplied' in /var/www/html/ursify/Source/ursify.com/library/Zend/Uri/Http.php:
我試圖創建客戶對象「$客戶端=新一個Zend_Http_Client ("http://50.55.146.221/curl_page.php");"
在哪裏我做錯了嗎?幫我
進行了測試,修剪了不需要的空白區域和隱藏字符。現在它工作正常 – 2014-09-01 04:54:14