Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

helo, anybody make html page with

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive
View previous topic :: View next topic  
Author Message
ncmain12

Bascom Member



Joined: 15 May 2005
Posts: 2

PostPosted: Sun May 15, 2005 6:54 pm    Post subject: helo, anybody make html page with Reply with quote

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
View user's profile
Frankeman

Bascom Member



Joined: 11 Aug 2004
Posts: 945
Location: the Netherlands

netherlands.gif
PostPosted: Mon May 16, 2005 8:09 am    Post subject: Reply with quote

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
View user's profile
ncmain12

Bascom Member



Joined: 15 May 2005
Posts: 2

PostPosted: Sun May 29, 2005 12:10 pm    Post subject: i make.. Reply with quote

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
View user's profile
andil

Bascom Member



Joined: 21 Oct 2005
Posts: 14

germany.gif
PostPosted: Fri Oct 21, 2005 9:10 am    Post subject: Reply with quote

Hello
I need help too!!
Is there a code sample??
thx
Back to top
View user's profile
bzijlstra

Bascom Ambassador



Joined: 30 Dec 2004
Posts: 1179
Location: Tilburg - Netherlands

netherlands.gif
PostPosted: Mon Oct 24, 2005 8:46 pm    Post subject: Reply with quote

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
View user's profile Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    www.mcselec.com Forum Index -> Easy TCP/IP Archive All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum