arduino over xampp + php

I wanna require , when button press display switch status to web page with ajax xml. already its run ,thats webpage save in sd card but now same use over xampp web-server insted of sd card...please help me.below my previous sd card code both (web page code & arduino code .)

Please help me.... :confused: :frowning:

arduino code.ino (6.29 KB)

webpage.txt (1.71 KB)

please help me

What you describe can NOT be done. Either the Arduino is the server and serves up the whole page, or it is not the server and it serves up nothing.

It can be a client and send data to the server, but the data will NOT be real-time data.

Opening another thread is not going to change the fact that you can not do what you want.