Skip to content

Tag: php

How to send JSONArray to PHP server using Volley?

I’m fairly inexperienced with Android programming and am having issues sending a JSONArray to my PHP server. I am using the following code to generate the JSONArray from my cursor: I believe I am misunderstanding how to properly send data via JsonARrayRequest. Here is the following code that I am using to send the data. Instead of sending the data,

helpe to convert from java to php [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago. Improve this question I have written a java code and I need help writing it in PHP because I do not have enough

Header sent from Java changes it name on PHP side

I am sending X-Auth-HMAC header from Java using HttpClient to Nginx + PHP-FPM combo: But on PHP side in $_SERVER variable among all headers i get: How could X-Auth-HMAC become HTTP_X_AUTH_HMAC ? Answer PHP formats HTTP headers in the $_SERVER variable according to RFC 3875 (the CGI 1.1 spec). Specifically section 4.1.18: Meta-variables with names beginning with HTTP_ contain values

Android device can’t connect to mysql in localhost [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 1 year ago. Improve this question I’m developing an android app in android studio and I have a mysql