Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1de913

Browse files
committed
Fixed .com in example
1 parentf605603 commite1de913

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

‎README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The third argument is the **request parameters** if needed. It can either be a J
9696
####Example Job List Request
9797

9898
$request = new ZencoderRequest(
99-
'https://app.zencoder/api/jobs',
99+
'https://app.zencoder.com/api/jobs',
100100
'93h630j1dsyshjef620qlkavnmzui3'
101101
);
102102

@@ -111,7 +111,7 @@ The third argument is the **request parameters** if needed. It can either be a J
111111
####Example Account Creation Request
112112

113113
$request = new ZencoderRequest(
114-
'https://app.zencoder/api/account',
114+
'https://app.zencoder.com/api/account',
115115
false, // API key isn't needed for new account creation
116116
array(
117117
"terms_of_service" => "1",

‎Zencoder.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class ZencoderRequest {
112112
var$raw_results;
113113
var$results;
114114

115-
functionZencoderRequest($url,$api_key ="",$params ="") {
115+
functionZencoderRequest($url,$api_key ="",$params ="",$options ="") {
116116

117117
// Add api_key to url if supplied
118118
if($api_key) {
@@ -209,6 +209,11 @@ function ZencoderCURL($url, $json, $options = array()) {
209209

210210
// Check for cURL error
211211
if (curl_errno($ch)) {
212+
if (curl) {
213+
214+
}else {
215+
216+
}
212217
$this->error ='cURL connection error ('.curl_errno($ch).'):'.htmlspecialchars(curl_error($ch)).' <a href="http://www.google.com/search?q='.urlencode("curl error".curl_error($ch)).'">Search</a>';
213218
$this->connected =false;
214219
}else {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp