Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $json_file = file_get_contents("http://servidor.sys.net/sendsms?username=xxx&password=xxxx&phonenumber=999999999&message=ssssssss");
- $json_str = json_decode($json_file, true);
- var_dump( $json_str );
- array(2) {
- ["message"]=>
- string(8) "ssssssss"
- ["report"]=>
- array(1) {
- [0]=>
- array(1) {
- [1]=>
- array(1) {
- [0]=>
- array(4) {
- ["port"]=>
- string(7) "gsm-2.2"
- ["phonenumber"]=>
- string(11) "999999999"
- ["time"]=>
- string(19) "2017-08-04 07:34:35"
- ["result"]=>
- string(7) "success"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement