php

  1. S

    Android Code Snippet Upload a file to your server with HttpJob and php(included)

    4-25-2020 Pick a SINGLE File from Dialog box, Then upload it To a server on LAN Or Internet I wrote this B4A To be very small, simple, & easy to understand on a beginners level In Files Is the PHP script To handle single File upload And save As original filename php creates And appends a...
  2. Songwut K.

    Android Example B4A and PHP REST

    Thanks @Erel for free version that I plan to buy but donate instead. I'll share my B4A knowledge in Thailand, your great product must popular, later. PHP is well known for web developer, it cheap resource and easy to learn in Thailand. Backend system easy manage by PHP & MySQL but till now...
  3. MARCO C.

    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`...
  4. 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...
  5. KMatle

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

    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...
  6. Mashiane

    B4J Question [SOLVED] 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...
  7. 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...
  8. Mashiane

    B4J Library [BANanoSQLite] SQLiteDB PHP CRUD Class for BANano

    Ola UPDATE 2020-05-19: Please use this library instead 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...
  9. 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...
  10. 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...
  11. Mashiane

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

    Ola UPDATE 2020-05-19: Please use this library instead [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...
  12. 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...
  13. 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...
  14. Mashiane

    B4J Question [BANano] [SOLVED] 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...
  15. 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...
  16. 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...
  17. K

    Android Question NumberFormatException error

    numberformatexception error in php base64_encode string my php array :(ArrayList) [{id=1...
  18. 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...
  19. 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...
  20. 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...
Top