What's new

Spaces in Rest API URL

Tomanz

Elite
Joined
Dec 22, 2015
Posts
896
Reaction
275
Age
22
Mga master paano po maglagay ng space sa message po? yung "My" lang po kasi nag sesend. Credits po sa may Ari ng App na Quick SMS (Phcorner.net) eto
po link ng thread nya mga master. @nogats07

<?php
function send($ip, $phone, $message) {
$send = json_decode(file_get_contents("http://{$ip}:8080?phone={$phone}&message={$message}"));
return $send->status == 200 ? true : false;
}
send ("You do not have permission to view the full content of this post. Log in or register now.", "09123456854", "My message");
?>
 
Top