php

  1. walterf25

    B4J Question Successful Business ABMaterial Framework Stories.

    Hi all, I would like to read from any success stories using ABMaterial framework, has anyone actually either for personal business purposes or for a client built a successful web app that is still currently being used by more than 1000 users on a daily basis. The reason I ask this question is...
  2. Serge Nova

    Android Tutorial B4A Social Network Version 1.50

    Hello every one, The old version (1.30) of this social network can be found in this link: https://www.b4x.com/android/forum/threads/b4a-social-network-version-1-30.141765/#post-921065 After several days of work, version 1.50 of this social network which brings the correction and several...
  3. Justcooldev

    B4J Library MysqlConn : Mysql connection library

    Hi ! New library ! MysqlConn. It is fully written in B4X ! This library is compatible with B4J & B4A. It depends on OkHttpUtils2 and a PHP Script. PHP Script : <?php $host_name = $_GET['Hostname']; $database = $_GET['DbName']; $user_name = $_GET['username']; $password = $_GET['password']...
  4. KMatle

    B4R Tutorial ESP32: AES256 encrypted & Base64 encoded post message to and from PHP

    Example: - AES256 encrypt a message with IV and Salt - Base64 encode it - send a http post request to a php script - decrypt in php - send back a AES256 encrypted and Base64 encoded message to the ESP32 Note: - change SSID & PW & IP-Address/foldername/scriptname - message must be padded to a...
  5. M

    Android Question OKHttpUtils2 Hard Refresh?

    Hello Community, Well, I was working with PHP files for a project on the server side, when I ran into a problem. After changing the PHP file or changing MYSQL, the string received from the server as a Result is the same as the previous string and has not changed. Due to the caching of...
  6. Cliff McKibbin

    Android Example Syncing local databases using PHP to access a database on a hosted server

    My need was to sync calendars in which user 'A' changes the calendar and sends the change to other users by writing records to the hosted database. The other users query periodically to see it they have any incoming sync records and read them if available. I had hoped to use Erel's JDRC2...
  7. AkuryuBR

    Android Question Error in private page with OkHttpUtils2

    Hi to all, i have made a App based on httpUtils, i pick my entry with php page and mysql_maria db, all work fine, now i decie to use private page with .htpasswd ah .htaccess and here come the problem. If i use this type of link http(s)/username:[email protected] in the browser (i have...
  8. S

    B4J Question PHP file not parsing parameter string from Poststring

    Hello, i've a strange problem which costed me quite a bit of time to debug, still I don't know why my php file won't accept the string of parameters. Note that the php files are working well, I use them on other projects in combination with another development environment. So at a certain point...
  9. P

    B4A-JSON app tutorial using B4A, JSON, MySQL and PHP.

    Are you up for another challenge? Try this tutorial. Maybe you like the end result. This is how it will look like: You will find some interesting links to other study material in this tutorial. And of course here is the link: B4A-JSON Happy coding! Paul.
  10. toby

    Android Question Problems wtih RSA encrypt/decrypt between B4A and PHP

    I want to be able to encrypt some data in B4A and decrypt it with PHP on the server and vice versa. I use this online tool to generate the public and private keys. Both PHP and B4A use same keys and the test data is "this is a test". What I've achieved so far: 1. Encrypt and decrypt...
  11. Oscarin

    Android Question MySql, PHP, B4A wait for query to finish

    I am using this tutorial https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/ To connect to a MySQL DB, everything works fine, but I have a problem. Sometimes I need for the query to finish before proceeding to the next line of code This is what I want to do...
  12. Daniel44

    Android Question [SOLVED]Casting issues within a For Each iterating data from an API

    Hey! I'm working with my API made in PHP . Afer I got logged it returns an Access Token and a Refresh Token in json format. Like this: Postman: { "statusCode": 201, "success": true, "messages": [], "data": { "session_id": 9, "access_token"...
  13. KMatle

    Android Code Snippet [B4x] Use OTP in your apps (php code also included)

    OTP is a one time pin (here: 6 digits) depending on a given password and the actual time. Usage: - additional security when a user does a login - take care of server requests (a request can be intercepted and repeated). As it depends on the date/time with OTP this isn't possible - some sort...
  14. Abdull Cadre

    Share My Creation ChatApp v1.1

    Overview ChatApp is a Real time chatting application. Developed in B4A, along with php and mysql, the application can be easily modified and customized. App Features Mysql database One by one chat Group Chatting Single Video & Audio Call Sent/Recived Indicatior with realtime update Last seen...
  15. AriGharavi

    Android Question okhttputils2 Error - javax.net.ssl.SSLHandshakeException

    Hi guys! I have problem with sending request with okhttputils2 and httputils. this is my code : #Region Project Attributes #ApplicationLabel: B4A_register #VersionCode: 1 #VersionName: 'SupportedOrientations possible values: unspecified, landscape or portrait...
  16. A

    Android Question B4A, JRDC2 and PHP Website

    Hi All, Hopefully this is in the right section - I'm working on a B4A app, that uses b4j server with jrdc2 connector to mysql server (this is all working fine) - I then have my friend work on php website, which he's connecting to the same mySQL server. I would like to get a login/register...
  17. Muhamad Kamal

    Share My Creation PHP code to send Firebase Notification to both Android mobile app and iOS mobile app

    Hi there! I'm sharing one of my work here so that some of you might refer it. This code is the PHP part from the whole project that I was working on. My project is based on the automated Forex signals that will be sent to Android and iOS mobile app from an indicator built on MT4 MetaQuote...
  18. H

    Android Question PHP and WebView (XAMPP)

    Hi. I'm trying to display a PHP file from (XAMPP Local server) in a webview but i get nothing to show. Is there something i'm missing? I Should mention that the PHP page utilizes CSS and Javascript. Also, the PHP file is just a table that displays records. Is there a better way to do this...
  19. saeed10051

    B4J Question Update a record in mysql using php

    Hi, i am trying to update a record in an online mysql database. using following php script <?php $conn = new mysqli("pdb48.awardspace.net", "3373050_restaurant", "abc123", "3373050_restaurant"); if ($conn->connect_error) { die("ERROR: Unable to connect: " . $conn->connect_error); }...
  20. saeed10051

    B4J Question Inserting data to online mysql database

    i am trying to insert data to my online database using following php script <?php $conn = new mysqli("fdb23.awardspace.net", "3373050_restaurant", "abc123", "3373050_restaurant"); if ($conn->connect_error) { die("ERROR: Unable to connect: " . $conn->connect_error); } echo...
Top