I am by no means a programer, I however can get most things to work via - java,html,php and such usually by searching the web. My project im working on now is trying to get some data from a webpage as a user inputs it.
to do this i am trying to get a slider bar to send a number to a tcp/ip port when the change occurs.
Ive seen and searched up alot about the onChange event of sliderbars. nowhere can i find clean simple code with just a sliderbar doing this function.
I understand a few things i need to do with my page.
first, when the page is loaded i need to open a socket with the arduino so it resets. ( im actualy transfering data via ust/serial, tcpip is only emulated.)
second i need to keep this connection open till the page is closed.
If anyone has any info on what language might get this idea done i would be so great-full.
here is some code i was working with.
/// simple html code for making a slider 0where the "showValue(this.value)" is, might i put something else there to open the socket?
perhaps call php
</PHP
$sock_data = socket_set_option($sock, SOL_SOCKET, SO_BROADCAST, 1);
$sock_data = socket_write($sock, "HTML VAR", strlen("HTML VAR"));
?>
do i need to creat a php function that i call and send the var from the html?
lol, ANY HELP would be sweetness. THANKS