Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

179
Views
What is the best way to pass a string from PHP to another over different domain?

I have one Apache server running on my raspberry pi and another on a PC. I have an RFID reader connected to raspberry pi which is continually collecting data from nearby tags. I want to pass this single string from raspberry pi to the PC over the server. I looked up into different methods such as CRUL, Ajax, Streams. I have developed python server with sockets, and a basic file_get_contents. I want to do it using $_GET method with Ajax and pass data as Json data format. After using many different combinations I'm getting more and more confused about this server communications. I assume the easiest way would be to use json_encode and json_decode, but even this gives me NULL value. Can someone direct me to right starting point, or give an example of how to do this using $_GET method on both ends?

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!