- Dec 12, 2022
- 357
- 2
I made 7 examples how to exchange data between B4x apps and php. I use the POSTSTRING method as it is simple, secure (get-methods will be logged with the data autmatically on the server, post-methods not), strings can be formatted very easy (JSON) and en-/decrypted (not included but see my other examples or the php documentation).
You can use these basics for other "platforms", too like asp.net or even any other sw to use a "standard" exchange format which uses "one simple string" which is JSON formatted.
What you need:
B4J
XAMPP (as a good test system which comes whith apache, php, MySQL and other components). You can use any other, too. The examples just use apache and php. I use it since years because it comes with a "one click install" and has all important modules (like OpenSSL for encryption).
1. Install it (c:/xampp ist the standard folder which I use)
2. Copy the 5 php scripts (you find them inside the B4J...
You can use these basics for other "platforms", too like asp.net or even any other sw to use a "standard" exchange format which uses "one simple string" which is JSON formatted.
What you need:
B4J

XAMPP (as a good test system which comes whith apache, php, MySQL and other components). You can use any other, too. The examples just use apache and php. I use it since years because it comes with a "one click install" and has all important modules (like OpenSSL for encryption).
برای دیدن لینک ها باید ثبت نام کنید
1. Install it (c:/xampp ist the standard folder which I use)
2. Copy the 5 php scripts (you find them inside the B4J...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید