Search the Community
Showing results for tags 'webserver'.
-
I'm trying to select data from a MySQL database that is hosted on a webserver. I want to be able to retrieve the data from a table within the database and then illustrate it within a HTML table. There's an example on W3Schools that I've been following, but I'm unable to retrieve the data successfully. http://www.w3schools.com/php/php_ajax_database.asp Below is the source code: (HTML) <html> <head> //Javascript code <script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code
-
#include <SPI.h>#include <Ethernet.h>byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };byte ip[] = { 192, 168,1, 120 }; EthernetServer server(80);float latitude=13.08;float longitude=80.20;void setup(){ Serial.begin(9600); Ethernet.begin(mac, ip); server.begin();}void loop(){ Ethernet_Control();}void Ethernet_Control(){ EthernetClient client = server.available(); // detect if current is the first line boolean current_line_is_first = true; if (client) { // an http request ends with a blank line boolean current_line_is_blank = true; while (client.connected(
-
hi, i'm looking XAMPP for android..... i want to install XAMPP in my samsung tab....any sugestion?? thx