Can someone tell me the secure way to share the variables between the my different websites with PHP code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can someone tell me the secure way to share the variables between the my different websites with PHP code?

Like a created a variable $go='myname'; In a page of my site https://abcd.com And now i want to call $go in my another sites like https://xyz.com Note both website uses https protocol

14th May 2020, 12:43 PM
Ashish Sah
Ashish Sah - avatar
1 Answer
+ 1
You have to create an API. Check out the structure of a REST API
29th May 2020, 4:18 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar