View previous topic :: View next topic |
Author |
Message |
ncmain12
Joined: 15 May 2005 Posts: 2
|
Posted: Sun May 15, 2005 6:54 pm Post subject: helo, anybody make html page with |
|
|
hello
I'm start using easy tcp, and iI have a problem, how to turn on/off something from web browser. I know its many information on the web, but i want get information from another easytcp users.
NCMain |
|
Back to top |
|
|
Frankeman
Joined: 11 Aug 2004 Posts: 948 Location: the Netherlands
|
Posted: Mon May 16, 2005 8:09 am Post subject: |
|
|
Hi,
To handle user input in explorer for example you must use the GET or POST method in the HTML page you send to him.
Send the example HTML when opening the page.
When the user clicks on the button a POST is send to the TCP/IP board.
Catch the post in your program and do with it you like.
Code: |
data "<HTML><BODY>"
data "<FORM METHOD=POST>"
data "<INPUT TYPE=SUBMIT VALUE=Send><BR>"
data "</FORM></BODY></HTML>"
|
Frank. |
|
Back to top |
|
|
ncmain12
Joined: 15 May 2005 Posts: 2
|
Posted: Sun May 29, 2005 12:10 pm Post subject: i make.. |
|
|
Hi
I use this example in my web page
Code:
data "<HTML><BODY>"
data "<FORM METHOD=POST>"
data "<INPUT TYPE=SUBMIT VALUE=Send><BR>"
data "</FORM></BODY></HTML>"
and i don't get POST method but GET method, additionally this example open this link: " serwer ip/?", and i see page with dots. I found place where are display dots, but still i don't know how to turn on/off something. Please help me
NCMain |
|
Back to top |
|
|
andil
Joined: 21 Oct 2005 Posts: 14
|
Posted: Fri Oct 21, 2005 9:10 am Post subject: |
|
|
Hello
I need help too!!
Is there a code sample??
thx |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Mon Oct 24, 2005 8:46 pm Post subject: |
|
|
Hi
There are some examples of HTML-code on my homepage. You could check the TCP/IP -> RS232 converter, there a inputfield is used.
Also you could check the AVR Ethernet I/O code to switch things on and off (relays).
Have fun
Ben Zijlstra |
|
Back to top |
|
|
|