🔒 Closed Spaces in Rest API URL

Status
Not open for further replies.

Tomanz

Eternal Poster
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.org) 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");
?>
 
Status
Not open for further replies.

About this Thread

  • 9
    Replies
  • 1K
    Views
  • 6
    Participants
Last reply from:
yuwwwiii

Trending Topics

Online now

Members online
1,009
Guests online
11,285
Total visitors
12,294

Forum statistics

Threads
2,368,941
Posts
29,447,518
Members
1,035,969
Latest member
Lucius666
Back
Top