Topic: Example HTML form to send messages

http://www.btinternet.com/~g.w.naylor/nab.zip

An example of: a simple web form to send messages.

Untested at the moment and it requires you to enter a token/serial (but it's easy to change the code to prevent this).

Re: Example HTML form to send messages

grantnaz wrote:

http://www.btinternet.com/~g.w.naylor/nab.zip

An example of: a simple web form to send messages.

Untested at the moment and it requires you to enter a token/serial (but it's easy to change the code to prevent this).

Well, this is good stuff.  It works for me but raises some questions.
1)  Your URL string in the code does not include a 'key' which I was assuming is needed to identify a service.  Obviously including it in plain text opens your key up for abuse.  It still work however.
2)  The URL is one of the ones that I have been trying from my vb.net application.  It uses a hidden webbrowser control.  The same URL from my application gives connection error messages.  I don't know why (timeout perhaps?)

RouterTech.org - The independent technical support site for all things networking!

Re: Example HTML form to send messages

Sy Borg wrote:

2)  The URL is one of the ones that I have been trying from my vb.net application.  It uses a hidden webbrowser control.  The same URL from my application gives connection error messages.  I don't know why (timeout perhaps?)

Found it.  Human error on my part with the URL.  It's working now (well I'm getting the correct replies but still waiting for the message to come through).

RouterTech.org - The independent technical support site for all things networking!

Re: Example HTML form to send messages

Sy Borg wrote:
grantnaz wrote:

http://www.btinternet.com/~g.w.naylor/nab.zip

An example of: a simple web form to send messages.

Untested at the moment and it requires you to enter a token/serial (but it's easy to change the code to prevent this).

Well, this is good stuff.  It works for me but raises some questions.
1)  Your URL string in the code does not include a 'key' which I was assuming is needed to identify a service.  Obviously including it in plain text opens your key up for abuse.  It still work however.
2)  The URL is one of the ones that I have been trying from my vb.net application.  It uses a hidden webbrowser control.  The same URL from my application gives connection error messages.  I don't know why (timeout perhaps?)

1. The KEY seems not to be required for some odd reason, don't know why smile
2. I see you sorted this  .. hehe

-------------------

I would not recommend HTML as a secure method to distribute to anyone but trusted friends etc as you are practically giving them a Rabbit's serial number!

If you want security your going to need server-side scripts such as ASP,ColfFusion, PHP or a distributed application.

Re: Example HTML form to send messages

Is there any way to change this script so it opens the submit page into an iframe. If so which bit do i need to change and to what?
Many thanks

Daniel Cooper