🔒 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,070
Guests online
14,381
Total visitors
15,451

Forum statistics

Threads
2,358,754
Posts
29,403,418
Members
1,067,995
Latest member
KenZeee
Back
Top