+ 3

How to imtegrate json and php. What is token? How to create token and validate the token using php?

Here Json is frontend and php is backend. Actually we develope an android app for my php software. In that i need to validate login. So i need to create token and validate? Please help me

6th Aug 2019, 2:16 AM
Kirubha Karan
Kirubha Karan - avatar
2 odpowiedzi
+ 2
I got it: Get input of json by following code: $data=json_decode(get_file_contents(php://input); If you want to convert to json: echo$output=json_encode($data);
9th Sep 2019, 4:02 PM
Kirubha Karan
Kirubha Karan - avatar
+ 1
Search for jwt for php may be it well help you!!
14th Aug 2019, 1:32 PM
Djemmal Nour Elislam
Djemmal Nour Elislam - avatar