Skip to content

Commit 360e9b0

Browse files
author
MoovFun
authored
JustSend sms client php
Wysyłka wiadomości sms z php. Php sms client.
1 parent 8055c8b commit 360e9b0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

JustSendClient.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ function Send(){
142142
curl_setopt($this->Curl, CURLOPT_FOLLOWLOCATION, $this->FollowLocation);
143143
curl_setopt($this->Curl, CURLOPT_CONNECTTIMEOUT, $this->ConnectionTimeout);
144144
curl_setopt($this->Curl, CURLOPT_TIMEOUT, $this->Timeout);
145-
curl_setopt($this->Curl, CURLOPT_SSLVERSION, 6);
146-
curl_setopt($this->Curl, CURLOPT_SAFE_UPLOAD, false); // !!!! required as of PHP 5.6.0 for files !!!
145+
curl_setopt($this->Curl, CURLOPT_SSLVERSION, 6);
147146
curl_setopt($this->Curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)");
148147

149148
// Proxy
@@ -171,8 +170,6 @@ function Send(){
171170
if($this->Method != "GET"){
172171
curl_setopt($this->Curl, CURLOPT_POST, 1);
173172

174-
echo json_encode($this->Data);
175-
176173
// Json headers
177174
if($this->Json == true){
178175
curl_setopt($this->Curl, CURLOPT_POSTFIELDS, json_encode($this->Data));

0 commit comments

Comments
 (0)