problem with read buttons in with HTML
for project @ school must send dmx values arduino , ethernet. can send dmx values serial monitor must html page. can insert buttons don't know how read them in. first i've used ethernet shield arduino , used program of thomas tkj electronics. http://blog.tkjelectronics.dk/2009/03/ethernet-dmx-controller/#comments know i' m using ethernet shield itedstudio.com . please can because project decide or may leave school of not. please me! 
grts chainy (belgium)

grts chainy (belgium)
you should send page client form , buttons in it. form action should ip of ethernet shield. if use method, data attached url sent client after '?'. if post, in body section, not header.
either work, post method preferable because body not have url encoded if there invalid characters (like spaces) in data.
something this:
change 192.168.0.2 ip of shield.
when client clicks "submit" button, should show in url request as
?test=testdata123
the post method puts data in body, not url request.
stay in school!
either work, post method preferable because body not have url encoded if there invalid characters (like spaces) in data.
something this:
code: [select]
<form method=get action="http://192.168.0.2">
<input type=hidden name=test value=testdata123>
<input type=submit>
</form>change 192.168.0.2 ip of shield.
when client clicks "submit" button, should show in url request as
?test=testdata123
the post method puts data in body, not url request.
stay in school!

Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > problem with read buttons in with HTML
arduino
Comments
Post a Comment