URL for xampp localhost

  • Replies:10
  • OpenNot stickiedAnswered
  • Forum posts: 70

Aug 17, 2016 1:31:36 PM via Website

How to find the url of localhost to submit data to database from form??:?

  • Forum posts: 16

Aug 25, 2016 12:12:36 PM via Website

If you're running Apache, you'll find it in https.conf configuration file. Default HTTP port is 80.

  • Forum posts: 70

Aug 25, 2016 2:48:28 PM via Website

Thnx for the reply..

But what is the url, that enter in the java code???

  • Forum posts: 70

Aug 26, 2016 2:13:31 PM via Website

Actually, I'm developing a registration form in android using android studio in windows and I have to
add insert the user data to xampp mysql database..

— modified on Aug 26, 2016 2:16:56 PM

  • Forum posts: 70

Aug 26, 2016 2:17:15 PM via Website

Actually, I'm developing a registration form in android using android studio in windows and I have to
add insert the user data to xampp mysql database..

  • Forum posts: 16

Aug 29, 2016 8:20:41 AM via Website

Then, you'll have to code the server part (in PHP for example), in order to catch the POST request sent from your Android app.

It'll go like:
- Your Android app posts registration data to your server
- Your server (a PHP app), receives the data and save it to your database (if you're using XAMPP probably it's a MySQL)

  • Forum posts: 70

Aug 29, 2016 8:37:25 AM via Website

Ok... using the php script I can add data to the database.. But when the I think I have problem with the communication between android studio and php script. I think it may be the url for localhost specified in the javacode..:'(

  • Forum posts: 79

Oct 6, 2016 2:01:37 PM via Website

In case you're running Apache, you'll see it in https.conf design document. Default HTTP port is 80.

  • Forum posts: 70

Oct 6, 2016 2:38:40 PM via Website

Yeah.. I got the answer. . my port was 443: and its working....