Entertainment

Sunday 20 March 2016

           Android Upload Image to Server Using PHP MySQL


if you liked the demonstration of Android Upload Image to Server App then go ahead to know how you can do this. Lets start creating our Android Upload Image to Server Project.
This Android Upload Image to Server is having two parts
  1. PHP MySQL
  2. Android Studio
Lets start with PHP MySQL for your Android Upload Image to Server app.

Android Upload Image to Server – PHP MySQL Part

  • I am using hostinger hosting as my web server.
  • So go to your hosting accounts PhpMyAdmin and create a new table.
  • I have created the following table
  • Now we need to create a php script for our database connection
  • Create a new file named dbConnect.php and write the following code


    • Now we need one more php script to get and save our image sent from android device
    • Create a new file upload.php and write the following code



  • Create a new file upload.php and write the following code

No comments:

Post a Comment