php

  1. MARCO CORRIAS

    Italian 2 jobdone() in esecuzione ??

    Buongiorno, avete presente questo post https://www.b4x.com/android/forum/threads/mysql-su-aruba.62942/ tutto ok , con il file connessione.php inserito nel server e il seguente codice che lo richiama fraseSql = "SELECT id, idcall, item, qt, prz FROM `app_servicerow`...
  2. Kevin Hartin

    Android Question Put SQLite BLOB into MySQL BLOB using PHP

    I have an app that stores an image in a SQLite BLOB and happily retrieves and displays it in a form. However I need to push that up to a PHP Webserver and store it in the corresponding MySQL BLOB field. Do I have to retrieve the BLOB, store it locally as a file then Post it to the Server for...
  3. KMatle

    B4J Tutorial [B4x] Exchange Data via OkHttpUtils and php (or other platforms) via lists, maps, arrays, etc.

    I made 5 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...
  4. Mashiane

    B4J Question Google Chrome Web Server - Running PHP files?

    Hi there I'm testing out the Chrome Web Server, however my php files are not executing, resulting in ERR: CONNECTION REFUSED.. Has anyone been able to successfully run php based files with the Web Server for Chrome...
  5. Melek

    Spanish Problema con Webview

    Hola, soy nuevo en B4A, alguien me puede ayudar con el control de WebView, en una pagina web que muestro, hay imágenes y videos, que los videos si cargan, pero no funcionan los controles como el de pantalla completa. Saben si hay alguna forma? Ademas los botones no me funcionan, eso lo note en...
  6. Mashiane

    B4J Library [BANanoSQLite] SQLiteDB PHP CRUD Class for BANano

    Ola Update: BANanoSQLite1 Example If you are opting for MySQL connectivity, BANanoMySQL is available here. My journey finally has led me to complete a basic wrapper that one can use for PHP SQLite access. Initially, we tried... Distributing and Accessing SQLite Databases However, the...
  7. aedwall

    Android Question HttpJob and UTF8

    I am trying to use HttpJob to pass city names to a MySQL database, but b4A always makes funny characters out of names like "Bácum" by turning it into "B%C3%A1cum". I don't want UTF-8 conversions which I can't seem to turn back into a recognizable city name with PHP. If I tell HttpJob...
  8. Mashiane

    B4J Tutorial [BANano] MySQL CRUD with PHP - Part 2

    Ola Kinda excited that this is starting to form a shape. This second part of the tutorial deals with reading the users from the MySQL users table and then displaying them in a table. The first part we just did an intro into what we intend doing and showed how to 1. CREATE a user 2. READ a...
  9. Mashiane

    B4J Tutorial [BANano] MySQL CRUD with PHP - Part 1

    Ola [BANAno] MySQL CRUD with PHP - Part 2 Well, the Business College website I'm creating has a portion of where the potential students need to register online. The data needs to be stored in a MySQL database. I intend to use various php files that should be sitting on a webserver so the...
  10. Mashiane

    Android Tutorial MySQL data to webview using PHP

    Hi there The purpose of this is to demo how one can add, update, read and display mysql database records into a webview. 1. Setting up development environment For this we have used, Xampp with MySQL, BlueStacks android emulator to install and test our apk, some php with CRUD functions etc...
  11. Mashiane

    B4J Tutorial [BANano] Exploring Using PHP & SQLite for your WebApp

    Ola UPDATE: BANanoSQLite now available for actual sqlite db file CRUD functionality. This is part 1 of a series of my explorations using SQLite as a backend to a BANano app. I need a way to persist the data to a database, but thought of a serverless database for now. Series 1. Create the...
  12. Mashiane

    B4J Question [BANano] ExecuteCallBack for PHP & AJAX

    Hi there I've just become comfortable using the ExecuteCallBack method for BANanoSQL and thanks for this feature. I had earlier asked about using Php & MySQL and was pointed to Ajax and an example also provided. Thanks. I'm just about to explore these now fully as I need to persist data...
  13. Mashiane

    B4J Question [BANano]: [SOLVED] Using MySQL / MSSQL with PHP

    Hi there Update: April 8, 2019 Solution [BANAno] MySQL CRUD with PHP - Part 1 [BANano] MySQL CRUD with PHP - Part 2 I have an issue that I need to address. I have a backend that I need to speak to from my BANano App, this could either be MySQL or either MSSQL (no decision as yet). I guess...
  14. alwaysbusy

    B4J Tutorial [BANano] inline php -> server code

    Peter had a great idea for a new feature in BANano: I liked it! He had already written out the ground rules so we only needed a couple of mails to get on the same page. As a result BANano 1.27 has a PHP connection (we plan support for .asp(x), CGI, python, ... later). A note beforehand: It is...
  15. K

    Android Question NumberFormatException error

    numberformatexception error in php base64_encode string my php array :(ArrayList) [{id=1...
  16. KMatle

    Android Tutorial [B4x] AES Encryption (lessons learned & best practice)

    Last weekend I migrated my XAMPP test environment (Apache/PHP/MySql). It came with PHP 7.x. Yesterday I wanted to test one of my Apps using AES and Mcrypt for it in PHP but it didn't work no more. I noticed that MCrypt was deprecated anyway and even was removed due to security and other issues...
  17. KMatle

    B4J Tutorial Updated MySQL & PHP example

    Before you start: You need some experience with php, Apache Servers, OkHttpUtils, Lists, Maps and JSON structures. This is an updated example of how to - communicate with a apache server via OKHttpUtils calling a php script - doing MySQL data requests (Insert, Update and Delete) using...
  18. Manrique Suarez

    Spanish Conexión PHP, MySql, AWS, Google Cloud y otros hosting

    Hola a todos, espero se encuentre bien. Quisiera solicitar colaboración para lo siguiente. Estoy trabajando en B4A V7 y funciona muy bien, trabajando con base de datos de mysql a través del PHP en hosting de godaddy. Por otro lado, el caso es que, en hosting diferentes, como el AWS y el de...
  19. K

    Android Question db numeric value

    After inserting numeric value in database and the value is round I have a php code and get value = 152448.52 my b4a code is amt = m.Get("mamt") sql.ExecNonQuery2("INSERT INTO gl " & _ "(fbook,faccode,fdesc,fplace,fitcu,fin1,ftype," & _...
  20. KMatle

    Android Tutorial [B4x]Data exchange (B4x, php, servers, .net and others)

    After some years I have developed several apps to communicate with other apps, servers and platforms. My goal was to have ONE standard solution without additional propriatary solutions which work only on platform a but not on b. So I've ended up with lists and maps converted from/to JSON...
Top