![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 11.10.2015 Ostrzeżenie: (0%) ![]() ![]() |
Witam!
Potrzebuje pomocy, mam taki plik php pobierający dane w formacje json
pobrane dane wyświetlają się w przeglądarce w takim formacie Array ( [code] => 200 [status] => success [number_of_elements] => 20981 [message] => [data] => Array ( [0] => Array ( [account] => 1.socially.smtp [email] => nikol.kidman@onet.pl [source] => smtp [reason] => hardbounce [comment] => host mx.poczta.onet.pl[213.180.147.146] said: 550 5.1.1 : Recipient address rejected: User unknown (in reply to RCPT TO command) [count] => 1 [created_at] => 2016-11-06 17:25:59 [updated_at] => 2016-11-06 17:25:59 [id] => 581f5a2d87e9c045edad10e0 ) ) [req_id] => 4FwisMbwda ) jak pobrać i wyświetlić tylko zawartość? [email] => nikol.kidman@onet.pl chcę aby na stronie wyświetlał się tylko adres @ nikol.kidman@onet.pl Będę wdzięczny za pomoc Ten post edytował socially 6.11.2016, 17:46:47 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 8 Pomógł: 0 Dołączył: 11.10.2015 Ostrzeżenie: (0%) ![]() ![]() |
nieco zmieniłem skrypt i wygląda to teraz tak
wyświetla w przeglądarce wszsytkie dane {"code":200,"status":"success","number_of_elements":20984,"message":null,"data":[{"account":"1.socially.smtp","email":"szczepanikd15072@gmail.com","source":"smtp","reason":"hardbounce","comment":"host gmail-smtp-in.l.google.com[66.102.1.27] said: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 https:\/\/support.google.com\/mail\/?p=NoSuchUser vg1si26209372wjb.19 - gsmtp (in reply to RCPT TO command)","count":1,"created_at":"2016-11-06 22:49:32","updated_at":"2016-11-06 22:49:32","id":"581fa61c87e9c045edb1fc5e"}],"req_id":"4dAn1EhX5s"} tylko teraz jak w kolejnej lini albo tylko wyświetlić? szczepanikd15072@gmail.com
próbowałem i na poprzedniej wersji
tylko biała strona i to samo przy print_r ($return['message']['data'][0]['email']); Ten post edytował socially 6.11.2016, 23:11:52 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 2.10.2025 - 17:14 |