473,395 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Can someone tell me how data entry to a specific site might be accomplished

MLH
A97 procedure to open http://www.arch.com/message/
enter an 800 number, press "Continue", enter a text msg
string from a memo field and press "Send"

This is a calendaring and appointment A97 database for
an attorney's office. I'm sure it must be do-able. I know
better than to mention the term "S__dK__ys" in conjunction
with this topic. I've read enough in here to know that is
extremely unreliable. Am sorry even that I have to use
IE for this task. I wish there were a better way.
Nov 13 '05 #1
21 3454
rkc
MLH wrote:
A97 procedure to open http://www.arch.com/message/
enter an 800 number, press "Continue", enter a text msg
string from a memo field and press "Send"

This is a calendaring and appointment A97 database for
an attorney's office. I'm sure it must be do-able. I know
better than to mention the term "S__dK__ys" in conjunction
with this topic. I've read enough in here to know that is
extremely unreliable. Am sorry even that I have to use
IE for this task. I wish there were a better way.

Go to http://www.arch.com/message/.
Look at the html source for the page.
Find the url for the form action in the html source.
You will see that the action is Post.
Use the MSXML.XMLHTTP object to send data to the url.
If you still don't know how to do that after asking how to
several times in the past then do a Google search on xmlhttp.
Or go to the MSDN site on Microsoft.com and do a search.
It's all there in simple easy to follow and adapt examples.
Read. Comprehend. Experiment. Learn. Write your own code.
You will never have to ask the same question again.

Nov 13 '05 #2
Does this help ...

http://www.databasejournal.com/featu...le.php/3491216

--

Danny J. Lesandrini
dl*********@hotmail.com
http://amazecreations.com/datafast/

"MLH" <CR**@NorthState.net> wrote in message news:o5********************************@4ax.com...
A97 procedure to open http://www.arch.com/message/
enter an 800 number, press "Continue", enter a text msg
string from a memo field and press "Send"

This is a calendaring and appointment A97 database for
an attorney's office. I'm sure it must be do-able. I know
better than to mention the term "S__dK__ys" in conjunction
with this topic. I've read enough in here to know that is
extremely unreliable. Am sorry even that I have to use
IE for this task. I wish there were a better way.

Nov 13 '05 #3
MLH
<snip>

Go to http://www.arch.com/message/.
Look at the html source for the page.
Find the url for the form action in the html source.
You will see that the action is Post.
Use the MSXML.XMLHTTP object to send data to the url.
If you still don't know how to do that after asking how to
several times in the past then do a Google search on xmlhttp.
Or go to the MSDN site on Microsoft.com and do a search.
It's all there in simple easy to follow and adapt examples.
Read. Comprehend. Experiment. Learn. Write your own code.
You will never have to ask the same question again.
I know it seems that I've asked about the same subject
in a couple of instances, but this site and the ones for
Verizon and Nextel seemed different to me. It is confusing
for me so I do apologize. I will do the homework you suggested.
I believe the first solution you offerred was this one back in
June of this year. It was quite helpful. But this example was
a case in which I was snatching a whole ball of text, bringing
it back & parsing out what I wanted...

Set msXML = CreateObject("Microsoft.XMLHTTP")
'msXML.Open "GET", "http://www.autocheck.com/", False
MyURL = "http://www.autocheck.com/consumers/gatewayAction.do?siteID=9
56&affid=CDT&vin=" & Me!SerialNum
'MsgBox MyURL
msXML.Open "GET", MyURL, False
msXML.send
strPageContent = msXML.responseText
'Now you have it, the entire 55000-char text blob in a var named
strPageContent
'Do with it what you will.
'If you wanted to write it to a file...
'Dim fh As Long
'fh = FreeFile
'Open "c:\temp\datfile.txt" For Output As #FreeFile
'Print #fh, strPageContent
'Close #fh

And then, in August, I first visited the same objective that
I'm facing now. You had this to say...
If you look at the html source of the page at
http://www.arch.com/message/ you will see that the form
action is to send a request for /cgi-bin/wwwpreproc.cgi.
The method is Post so the form's data is not sent as a
query string appended to the url. It's sent in the body
of a message. If you do a search on how to Post a message
using XMLHttp you will eventually sort things out on your
own.


The truth is, I didn't tackle the objective then because the
HTML is greek to me. I was hoping to get some sample code
for any similar objective that someone had already written so
I could possibly modify it for use with my own objective. You see,
there are 41 attorneys with this firm and all have cell phones and
digital pagers and need to be reminded of all kinds of crap -
everything from "Hi, honey - don't forget to pick up the champaign
on your way home" to "Mary Harper will be here at the office today
at 3PM - you'll receive 2 more reminders before then."

Believe me, rkc, I appreciate your suggestions and offerings more
than it may seem at first glance. And you do have a point regarding
my limited code writing skills. I'm much better at modifying example
code to fit my own needs than I am at researching techniques and
approaches at the student level, mastering fundamentals, committing
them to memory (a poor memory, mind you) and springboarding from
there. Most of my posts, and this is a fact, could be stated this way:
Hey! I'm mentally challenged but I am adept at modifying example
code to fit my own needs when its similar to the objective I'm seeking
So does anyone have a sample piece of code that does blah, blah, blah?
If I were a power-programmer, that wouldn't be the case. I'd be like
you, David Fenton, Larry Linson, lylefair & others who rarely ASK
questions on this NG but can be found all over the place answering
them. I'm quite impressed with what you guys seem to be able to
carry around in your minds, actually. I wish I could do it, but I can
not.

So, I'm going now, to the sites you've recommended. In the meantime,
if there's a 10 or 12 liner or a hundred liner you know of that'll get
me ahead of the game a bit, pls feel free to post here. You can rest
assured that I'll wrestle with it, twist it and bend it to work if it
will.

Thanks, rkc, for you continued comments, tips and suggestions. I
appreciate them all. Even something like "Hey Butthead! Didn't we
just go over this last summer???" I am grateful for answers and
pointers - whatever they are. The worse thing that could happen
would be to be ignored completely.
Nov 13 '05 #4
MLH
I went to
http://search.microsoft.com/search/r...&c=0&s=1&swc=0
Literally, there were hundreds of examples found after
searching for this string: "MSXML.XMLHTTP"

Kindly point out an example you know of on their site you
think best illustrates a solution similar to my objective. My
objective is to locate and enter text into one box, press
a button appearing on the page, enter text into a box on
the page that follows and press a button on that page.
That's it. Nothing more.
Nov 13 '05 #5
MLH
Thx, Danny. It was very interesting reading. But as
rkc has pointed out, this is an msxml objective. I do
like the ASP solution you developed though.
Nov 13 '05 #6
MLH
Here's what I'm toying with. Is it a step in the right
direction?

Private Sub Command0_Click()
Dim msXML As Object, strPageContent As String, MyURL As String
Set msXML = CreateObject("Microsoft.XMLHTTP")
MyURL = "http://www.arch.com/message/"
msXML.Open "POST", MyURL, False
msXML.Send "8002500000" 'this is the target phone for the text msg
strPageContent = msXML.responseText
Debug.Print strPageContent

End Sub

I'm a bit unsure what to do next. Obviously, I want to click the
button on the site that says "Continue". I'm at a loss on that one.
Nov 13 '05 #7
rkc
MLH wrote:
Here's what I'm toying with. Is it a step in the right
direction?

Additions and corrections in line.
Private Sub Command0_Click()
Dim msXML As Object, strPageContent As String, MyURL As String
Set msXML = CreateObject("Microsoft.XMLHTTP")
'the form action is to post to the following url
'you determine this by looking at the page html source
MyURL = "http://www.arch.com/cgi-bin/wwwpreproc.cgi"
msXML.Open "POST", MyURL, False
'set the necessary Content-Type header
msXML.setRequestHeader _ "Content-Type","application/x-www-form-urlencoded"

'PIN = the name of the textbox on the web form.
'you determine this by looking at the page html source
msXML.Send ("PIN=8002500000")
strPageContent = msXML.responseText End Sub
I'm a bit unsure what to do next. Obviously, I want to click the
button on the site that says "Continue". I'm at a loss on that one.


You submit the form (click "Continue") by executing the code.

I have no idea what content is returned if you submit an accepted
value for PIN so I don't know what to do next.

btw, there is a comment in the source code of the page returned
asking you to go to a page and read the information there before
automating requests to their service.







Nov 13 '05 #8
MLH
On Sun, 09 Oct 2005 15:39:11 GMT, rkc
<rk*@rochester.yabba.dabba.do.rr.bomb> wrote:
I have no idea what content is returned if you submit an accepted
value for PIN so I don't know what to do next.


Oops... sorry, my fault. Here's a valid number: (sent in private mail)

Best not post my boss' number for the world to see. Oops! there
goes my job!
Nov 13 '05 #9
MLH
<snip>
Examining the source on the first page, I found these two thing...

<INPUT name=PIN size=10>
<INPUT name=SUBMIT type=submit class="smtext" value=Continue>

I see where you got the name "PIN". Now the next page that pops up
after manually entering a telephone number and "pressing Continue",
that URL is http://www.arch.com/cgi-bin/wwwpreproc.cgi

I'm uncertain as to what exactly is done to feed data to that page. I
do know that you cannot simply enter
http://www.arch.com/cgi-bin/wwwpreproc.cgi
into IE's URL bar and go to the page. You have to get there through
the first page, enter correct phone number and click "Continue".

I did find these things in that 2nd page's source...
<INPUT TYPE="HIDDEN" NAME="trans_num" VALUE="0">
<INPUT TYPE="HIDDEN" NAME="gw_pin" VALUE="800250XXXX">
<INPUT TYPE="SUBMIT" NAME="FUNCTION" VALUE="Request Message Status">
<INPUT TYPE="HIDDEN" NAME="gw_pin" VALUE="800250xxxx
<INPUT TYPE="TEXT" NAME="currentLength" SIZE="3"
onFocus="document.Terminal.firstSubmit.focus();">
<INPUT TYPE="SUBMIT" NAME="firstSubmit" VALUE="Send">
<INPUT TYPE="TEXT" NAME="resp_addr" SIZE="42">
<INPUT TYPE="CHECKBOX" NAME="confirm_receipt_str"
VALUE="confirm_page_delivery">
<INPUT TYPE="TEXT" NAME="resp_a_string" SIZE="20" MAXLENGTH="20"
onBlur="checkLength();">
<INPUT TYPE="TEXT" NAME="resp_b_string" SIZE="20" MAXLENGTH="20"
onBlur="checkLength();">
<INPUT TYPE="TEXT" NAME="resp_c_string" SIZE="20" MAXLENGTH="20"
onBlur="checkLength();">
<INPUT TYPE="TEXT" NAME="resp_d_string" SIZE="20" MAXLENGTH="20"
onBlur="checkLength();">
<INPUT TYPE="TEXT" NAME="resp_e_string" SIZE="20" MAXLENGTH="20"
onBlur="checkLength();">
<INPUT TYPE="TEXT" NAME="resp_f_string" SIZE="20" MAXLENGTH="20"
onBlur="checkLength();">
<INPUT TYPE="SUBMIT" VALUE="Send">

Looking in all that for the input box that has length of 500, I don't
see it. Obviously, I'm missing something and I don't know what it is.
There is the following line, close to the top, that gives some clue...
if (document.Terminal.currentLength.value > 500)
(The THEN part issues an ALERT)

If the name of the 500-char input box was MyMSG, I'm thinking code
like these 3 lines is what you would tell me to type...

msXML.Open "POST", MyURL, False
msXML.setRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
msXML.Send "MyMSG=Hello. This is a test message."

Now, that's just a SWAG. Am I anywhere close to the ballpark?
(notice I didn't say IN the ballpark)
Nov 13 '05 #10
MLH <CR**@NorthState.net> wrote in
news:le********************************@4ax.com:
I see where you got the name "PIN". Now the next page that pops up
after manually entering a telephone number and "pressing
Continue", that URL is http://www.arch.com/cgi-bin/wwwpreproc.cgi

I'm uncertain as to what exactly is done to feed data to that
page. I do know that you cannot simply enter
http://www.arch.com/cgi-bin/wwwpreproc.cgi
into IE's URL bar and go to the page. You have to get there
through the first page, enter correct phone number and click
"Continue".


Your problem here is that you're trying to write code to interface
with HTML forms, about which you obviously know nothing at all.

Basically, forms post to scripts using arguments.

If you go to this page:

http://dfenton.com/Midi/index.php

You see the default returned by the script in index.php.

If you click on one of the links, you see the results of passing
that script a number of arguments. Here's one (all on one line):

http://dfenton.com/Midi/index.php?st...st=44&current=
1
&mvt=1&display=Commentary

You've surely seen such URLs in the past if you've been browsing the
Internet for 5 minutes or more.

The CGI script you're using is passed its arguments through the
command button, which when click does a POST operation, (which
basically means "send the values I've entered in this form to the
specified script."

Now, whether or not the resulting page displays the arguments in the
location box of your browser or not is irrelevant. The page was
passed those arguments in order to do the job it's been designed to
do. What you need to know is available to you in the HTML of the
form on the original page.

Everything you need to know is in the form definition in the HTML:

<FORM action=/cgi-bin/wwwpreproc.cgi method=post name=Terminal>
<INPUT name=PIN size=10>
<INPUT name=SUBMIT type=submit class="smtext" value=Continue>
</FORM>

The only argument is PIN, since that's the only input box on the
screen, and the action that is done is to send the result to:

http://www.arch.com/message/cgi-bin/wwwpreproc.cgi

So, to send direct to that page, you'd need:

http://www.arch.com/message/cgi-bin/...gi?PIN=1234567

It should be that simple, unless there's something complex going on.

Now, I don't know what happens next once a valid PIN has been
submitted. I assume you get the chance to fill in yet another form.
How you manage that, I don't know, but it's likely that it's a
second form that is passed the same PIN from the previous page, and
that this form passes on the PIN along with the number you're
sending to the pager and any text message (if any). Again, once you
successfully get to the next HTML page in the process, you should be
able to look at the form there and figure out what the script name
is and what its arguments are.

Or, you could look at this page, which tells you how to do it:

http://content.arch.com/developer/http.html

That shows that you should be able to use this:

http://www.Arch.com/cgi-bin/wwwpage....&MSSG=Message%
2
0text%20is%20here&Q1=1

Note that you'll want to replace spaces in the message text with URL
encoding (%20 is the space character). You'll need to do the same
with some punctuation marks, but I don't know which ones (you'll
have to test and see).

That's your crash course in passing data to web page scripts based
on reading HTML forms. It should be enough for this very simple
project.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #11
MLH <CR**@NorthState.net> wrote in
news:oh********************************@4ax.com:
Thx, Danny. It was very interesting reading. But as
rkc has pointed out, this is an msxml objective. I do
like the ASP solution you developed though.


It doesn't matter what the scripting language is on the website. All
scripts work the same, whether ASP, CGI, PHP, CFM or whatever.

The form is that the script URL:

http://YourWebsite.com/Script.php

is followed by a ? to indicate the beginning of the parameters being
passed to the script. Each successive parameter is separated by &,
and each parameter is passed in the form "parameter=value". So, this
would be how it's done:

http://YourWebsite.com/Script.php?Pa...&Param2=Value2

That's what the HTML form does, it takes the ACTION defined (the
script that the parameters are being passed to) and constructs the
URL with the arguments being passed. The names of the URLs come from
the names of input boxes in the form, and the values passed are the
ones that are entered into the input boxes.

So, what Danny's directed you to actually applies here in regard to
constructing the URL for sending data to the script. You just have
to know the parameter names in order to send data to the script.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #12
rkc
MLH wrote:
Oops... sorry, my fault. Here's a valid number: (sent in private mail)

Best not post my boss' number for the world to see. Oops! there
goes my job!


Sorry, but I'm not going to do anything with that information
except delete it.
Nov 13 '05 #13
rkc
David W. Fenton wrote:
MLH <CR**@NorthState.net> wrote in
news:le********************************@4ax.com:

I see where you got the name "PIN". Now the next page that pops up
after manually entering a telephone number and "pressing
Continue", that URL is http://www.arch.com/cgi-bin/wwwpreproc.cgi

I'm uncertain as to what exactly is done to feed data to that
page. I do know that you cannot simply enter
http://www.arch.com/cgi-bin/wwwpreproc.cgi
into IE's URL bar and go to the page. You have to get there
through the first page, enter correct phone number and click
"Continue".

Your problem here is that you're trying to write code to interface
with HTML forms, about which you obviously know nothing at all.

Basically, forms post to scripts using arguments.

If you go to this page:

http://dfenton.com/Midi/index.php

You see the default returned by the script in index.php.

If you click on one of the links, you see the results of passing
that script a number of arguments. Here's one (all on one line):

http://dfenton.com/Midi/index.php?st...st=44&current=
1
&mvt=1&display=Commentary

You've surely seen such URLs in the past if you've been browsing the
Internet for 5 minutes or more.

The CGI script you're using is passed its arguments through the
command button, which when click does a POST operation, (which
basically means "send the values I've entered in this form to the
specified script."

Now, whether or not the resulting page displays the arguments in the
location box of your browser or not is irrelevant. The page was
passed those arguments in order to do the job it's been designed to
do. What you need to know is available to you in the HTML of the
form on the original page.

Everything you need to know is in the form definition in the HTML:

<FORM action=/cgi-bin/wwwpreproc.cgi method=post name=Terminal>
<INPUT name=PIN size=10>
<INPUT name=SUBMIT type=submit class="smtext" value=Continue>
</FORM>

The only argument is PIN, since that's the only input box on the
screen, and the action that is done is to send the result to:

http://www.arch.com/message/cgi-bin/wwwpreproc.cgi

So, to send direct to that page, you'd need:

http://www.arch.com/message/cgi-bin/...gi?PIN=1234567

It should be that simple, unless there's something complex going on.

Now, I don't know what happens next once a valid PIN has been
submitted. I assume you get the chance to fill in yet another form.
How you manage that, I don't know, but it's likely that it's a
second form that is passed the same PIN from the previous page, and
that this form passes on the PIN along with the number you're
sending to the pager and any text message (if any). Again, once you
successfully get to the next HTML page in the process, you should be
able to look at the form there and figure out what the script name
is and what its arguments are.

Or, you could look at this page, which tells you how to do it:

http://content.arch.com/developer/http.html

That shows that you should be able to use this:

http://www.Arch.com/cgi-bin/wwwpage....&MSSG=Message%
2
0text%20is%20here&Q1=1

Note that you'll want to replace spaces in the message text with URL
encoding (%20 is the space character). You'll need to do the same
with some punctuation marks, but I don't know which ones (you'll
have to test and see).

That's your crash course in passing data to web page scripts based
on reading HTML forms. It should be enough for this very simple
project.


The only thing I would add to your explanation is that since the Method
value of the form(s) is Post the cgi script will be looking for the
name=value pairs in the body of the message as opposed to appended to
the url. That holds true with http://www.Arch.com/cgi-bin/wwwpage.exe
if the information given at the developer's page is correct.

Nov 13 '05 #14
MLH
<snip>
Your problem here is that you're trying to write code to interface
with HTML forms, about which you obviously know nothing at all. Couldn't have hit the nail on the head any more square than that. <big snip>
http://www.arch.com/message/cgi-bin/wwwpreproc.cgi

So, to send direct to that page, you'd need:

http://www.arch.com/message/cgi-bin/...gi?PIN=1234567 This one worked perfectly (with a valid PIN of course)
<snip>Or, you could look at this page, which tells you how to do it:

http://content.arch.com/developer/http.html

That shows that you should be able to use this:

http://www.Arch.com/cgi-bin/wwwpage....&MSSG=Message%
2
0text%20is%20here&Q1=1
Sounded quite promising. I still think it should work, but trying
http://www.Arch.com/cgi-bin/wwwpage....NGOESHERE&MSSG
=TESTmessageTESTmessageTEST&Q1=1
(all on 1 line, of course) FAILS even with a valid PIN. Hmmmm????

<snip>That's your crash course in passing data to web page scripts based
on reading HTML forms. It should be enough for this very simple
project. And a good course it was. Thank-you David. I'll keep trying to
determine why the syntax you suggested (which matches that which is
shown on their DEVELOPER INFORMATION page) does not work.
I learned some valuable tips. Thanks for speaking my language. I'm
sure I'm on the right track.

Here's the HTML for the last page (the one you cannot get to w/o
a valid PIN). I see nothing in it illuminating the pathway of
righteousness. May be you can...

<!-- Please read http://content.arch.com/developer/ before you try to
automate to this CGI -->





















<HTML>

<HEAD>

<TITLE> Arch Interactive Messaging </TITLE>

<SCRIPT LANGUAGE="JavaScript">

<!--

function validate()

{

if (document.Terminal.currentLength.value > 500)

{

alert(" Your message is too large.\n" +


"--------------------------------------------------------\n" +

"You must reduce the message body\n" +

"or the custom response choices by\n" +

(document.Terminal.currentLength.value - 500) +

" characters.");

return false;

}

if (document.Terminal.MSSG.value.length == 0)

{

alert('You must enter a message');

document.Terminal.MSSG.focus();

return false;

}

if((document.Terminal.currentLength.value >
document.Terminal.MSSG.value.length) ||

(document.Terminal.resp_route.options[1].selected) ||

(document.Terminal.resp_route.options[2].selected) ||

(document.Terminal.confirm_receipt_str.checked) ||

(document.Terminal.resp_addr.value.length > 0))

{

if (document.Terminal.resp_addr.value.length == 0)

{

alert('You must provide a response address.');

document.Terminal.resp_addr.focus();

return false;

}

if (document.Terminal.resp_route.options[0].selected)

{

alert('You must provide a response route.');

document.Terminal.resp_route.focus();

return false;

}

}

return true;

}



function checkLength()

{

var TotalLength

TotalLength = document.Terminal.MSSG.value.length;

TotalLength = TotalLength +
document.Terminal.resp_a_string.value.length;

TotalLength = TotalLength +
document.Terminal.resp_b_string.value.length;

TotalLength = TotalLength +
document.Terminal.resp_c_string.value.length;

TotalLength = TotalLength +
document.Terminal.resp_d_string.value.length;

TotalLength = TotalLength +
document.Terminal.resp_e_string.value.length;

TotalLength = TotalLength +
document.Terminal.resp_f_string.value.length;

document.Terminal.currentLength.value = TotalLength;

}

if( (navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion) >= 4) )

{

document.captureEvents( Event.KEYUP )

document.onkeyup = checkLength;

}

if( (navigator.appName == "Microsoft Internet Explorer") &&
(parseInt(navigator.appVersion) >= 4) )

{

document.onkeyup = checkLength;

}



//-->

</SCRIPT>

<LINK href="/stylesheets/main.css" rel=stylesheet type=text/css>
</HEAD>



<BODY background=/images/bg3.gif bgColor=#ffffff leftMargin=0
topMargin=0
marginheight="0" marginwidth="0">
<TABLE border=0 cellPadding=0 cellSpacing=0 height="100%"
width="100%">
<TBODY>
<TR></TR>
<TR>
<TD align=left vAlign=top width="100%">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR></TR>
<TR>
<TD align=left vAlign=top width="100%">
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD align=left height=54 rowSpan=2 vAlign=bottom
width=219><A
href="http://www.arch.com/"><IMG alt="Arch Wireless
Spacer"
border=0 height=42 hspace=30
src="/images/logo_1.gif"
width=119></A></TD>
<TD align=right vAlign=top width=800><A
class=topnavlinks
href="http://content.arch.com/sitemap/">Site Map
</A><SPAN
class=revtype><SPAN class=revtype>|</SPAN> </SPAN><A
class=topnavlinks
href="http://content.arch.com/contact/">Contact
Us</A>&nbsp;<span class="revtype"><span class="revtype">|</span>
</span> <a href="http://search.arch.com"
class="topnavlinks">Search</a>&nbsp;&nbsp;</TD>
</TR>
<TR>
<TD align=left height=43 vAlign=bottom width=800>
<TABLE border=0 cellPadding=2 cellSpacing=1
width="99%">
<TBODY>
<TR align=middle>
<TD colSpan=6><IMG border=0 height=1
src="/images/space.gif" width=470></TD></TR>
<TR align=middle>
<TD noWrap><IMG alt=spacer border=0 height=10
src="/images/space.gif" width=10></TD>
<TD noWrap><A class=topnavlinksbold
href="http://content.arch.com/about/">About
Arch</A></TD>
<TD noWrap><A class=topnavlinksbold

href="http://content.arch.com/products/">Products &amp;
Services</A></TD>
<TD noWrap><A class=topnavlinksbold

href="http://content.arch.com/custserv/">Customer
Service</A></TD>
<TD noWrap><A class=topnavlinksbold
href="http://store.arch.com/">Online
Store</A></TD>
<TD noWrap><A class=topnavlinksbold
href="/message/">Send A
Page</A>&nbsp;</TD></TR>
<TR align=middle>
<TD colSpan=6 height=2 noWrap><IMG
alt="bottom nav spacer" border=0 height=3
src="/images/space.gif"

width=1></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD vAlign=top width=203><A
href="http://www.arch.com/"><IMG
border=0 height=38 hspace=21
src="/images/logo_2.gif"
width=124></A></TD>
<TD align=left colSpan=2 vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD><IMG height=24
src="/images/spsupporttagline.gif"
width=458></TD></TR>
<TR>
<TD

align=middle>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>



<!-- Change from left to center and width to 100% from 777 -->
<TABLE ALIGN="CENTER" BORDER="0" CELLSPACING="0" CELLPADDING="0"
WIDTH="100%">

<TR>

<TD ALIGN="CENTER">

<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">

<TR>

<TD align="center">
<FORM NAME="Status" ACTION="/cgi-bin/wwwstatus.cgi"
METHOD="POST">

<INPUT TYPE="HIDDEN" NAME="trans_num" VALUE="0">

<INPUT TYPE="HIDDEN" NAME="gw_pin" VALUE="

8002504133


">



<span class="smtextbold">Step 2</span>

<BR>

Please enter the message you would like sent to<BR><BR>

<span class="smtextbold">


8002504133


</span>


or

<INPUT TYPE="SUBMIT" NAME="FUNCTION" VALUE="Request Message
Status">
</FORM></TD>

</TR>

</TABLE>

<FORM ACTION="/cgi-bin/wwwtwoway.cgi" NAME="Terminal"
METHOD="POST" ONSUBMIT="return validate();">

<INPUT TYPE="HIDDEN" NAME="gw_pin" VALUE="

8002504133


">

<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">

<TR>

<TD COLSPAN="2" ALIGN="CENTER">

<TEXTAREA ROWS="5" COLS="40" NAME="MSSG" WRAP="SOFT"
onBlur="checkLength();"


</TEXTAREA><BR>


<INPUT TYPE="TEXT" NAME="currentLength" SIZE="3"
onFocus="document.Terminal.firstSubmit.focus();">

Characters of 500 Character Maximum

<BR>

<INPUT TYPE="SUBMIT" NAME="firstSubmit"
VALUE="Send"><BR><BR></TD>

</TR>

<TR>

<TD>


<span class="smtextbold">Response Route:</span></TD>

<TD ALIGN="RIGHT">

<SELECT NAME="resp_route">

<OPTION SELECTED> None</OPTION>

<OPTION VALUE="Pager"> Arch Interactive Pager</OPTION>

<OPTION VALUE="Email"> E-Mail Address</OPTION>

</SELECT></TD>

</TR>

<TR>

<TD COLSPAN="2">


<span class="smtextbold">Response Address:</span>

<BR>

<INPUT TYPE="TEXT" NAME="resp_addr" SIZE="42"><BR><BR>


<span class="smtextbold">Notify me upon delivery</span>

<INPUT TYPE="CHECKBOX" NAME="confirm_receipt_str"
VALUE="confirm_page_delivery"><BR><BR>

</TD>

</TR>

<TR>

<TD ALIGN="CENTER" COLSPAN="2">


The fields below are for 2 Way pagers only</TD>

</TR>

<TR>

<TD ALIGN="CENTER" COLSPAN="2">


<span class="smtextbold">Send custom response
choices:</span></TD>

</TR>

<TR>

<TD>

<INPUT TYPE="TEXT" NAME="resp_a_string" SIZE="20"
MAXLENGTH="20" onBlur="checkLength();"><BR>

<INPUT TYPE="TEXT" NAME="resp_b_string" SIZE="20"
MAXLENGTH="20" onBlur="checkLength();"><BR>

<INPUT TYPE="TEXT" NAME="resp_c_string" SIZE="20"
MAXLENGTH="20" onBlur="checkLength();"><BR>

</TD>

<TD ALIGN="RIGHT">

<INPUT TYPE="TEXT" NAME="resp_d_string" SIZE="20"
MAXLENGTH="20" onBlur="checkLength();"><BR>

<INPUT TYPE="TEXT" NAME="resp_e_string" SIZE="20"
MAXLENGTH="20" onBlur="checkLength();"><BR>

<INPUT TYPE="TEXT" NAME="resp_f_string" SIZE="20"
MAXLENGTH="20" onBlur="checkLength();"><BR>

</TD>

</TR>

</TABLE>

<INPUT TYPE="SUBMIT" VALUE="Send"><p>
<A HREF="http://content.arch.com/faq/"
STYLE="TEXT-DECORATION: NONE">Frequently
Asked Questions</A></p>

</FORM></TD>

</TR>

</TABLE>

</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD align=center>
<TABLE align=center border=0 cellPadding=0 cellSpacing=1
height=26
width="100%">
<TR align=middle bgColor=#f9f9f9>
<TD bgColor=#00257e height=1><IMG alt=spacer border=0
height=1
src="images/space.gif" width=1></TD>
</TR>
<TBODY>
<TR align=middle bgColor=#f9f9f9>
<TD height=20 align="center"><A
href="http://content.arch.com/about/">About
Arch</A> |<A href="http://content.arch.com/products/">
Products
&amp; Services</A> | <A
href="http://content.arch.com/custserv/">Customer
Service<SPAN></SPAN></A>
| <A href="http://store.arch.com/">Online Store</A> |
<A href="https://myaccount.arch.com/login.jsp">My
Account Login</A> | <A
href="http://content.arch.com/sitemap/">Site Map</A> | <A
href="http://content.arch.com/news/">News</A> | <a
href="http://content.arch.com/privacy/">Privacy Policy</a>
| <a
href="/message/"></a><a
href="http://search.arch.com">Search</a> | <a
href="/message/"></a><A
href="/message/">Send a Page</A></TD>
</TR>
<TR align=middle bgColor=#f9f9f9>
<TD bgColor=#00257e height=1><IMG alt=spacer border=0
height=1
src="images/space.gif" width=1></TD>
</TR>
</TBODY>
</TABLE>
<BR>
<A
href="http://content.arch.com/copyright/">© 2005 Arch Wireless
Operating
Company, Inc.</A></TD>
</TR>
</TABLE></BODY></HTML>
<!-- twoway-M4.WME -->

Nov 13 '05 #15
MLH
<big snip>
The only thing I would add to your explanation is that since the Method
value of the form(s) is Post the cgi script will be looking for the
name=value pairs in the body of the message as opposed to appended to
the url. That holds true with http://www.Arch.com/cgi-bin/wwwpage.exe
if the information given at the developer's page is correct.


You may have something there, rkc, as I tried
http://www.Arch.com/cgi-bin/wwwpage....is%20here&Q1=1
and it did not work for me. I'm not sure how to implement the
name=value pairs in the body of the message.
Nov 13 '05 #16
MLH
>The only thing I would add to your explanation is that since the Method
value of the form(s) is Post the cgi script will be looking for the
name=value pairs in the body of the message as opposed to appended to
the url. That holds true with http://www.Arch.com/cgi-bin/wwwpage.exe
if the information given at the developer's page is correct.


So, rkc, could that be something like this...
MyURL = "http://www.Arch.com/cgi-bin/wwwpage.exe?PIN=8002504133&Q1=1"
msXML.Open "POST", MyURL, False
msXML.setRequestHeader "Content-Type",
"application/x-www-form-urlencoded"
msXML.Send "MSSG=Hello! This is a message from TPAK. Call me if you
get this message."

(watch out for the NG wrapping)
Nov 13 '05 #17
rkc
MLH wrote:
You may have something there, rkc, as I tried
http://www.Arch.com/cgi-bin/wwwpage....is%20here&Q1=1
and it did not work for me. I'm not sure how to implement the
name=value pairs in the body of the message.


Well, yeah. It specifically says that Get has been disabled on their
servers.
Dim msXML As Object, strPageContent As String, MyURL As String

Set msXML = CreateObject("Microsoft.XMLHTTP")

MyURL = "http://www.Arch.com/cgi-bin/wwwpage.exe"

msXML.Open "POST", MyURL, False

msXML.setRequestHeader _
"Content-Type","application/x-www-form-urlencoded"
'spaces in strings must be replaced with a +
'I have no idea what...
'Q1: Q1=1 will echo the message; Q1=0 will not
'means. You will have to try it and see.

msXML.Send _ ("PIN=8005551234&MSSG=This+is+the+text+of+the+mess age&Q1=0")

strPageContent = msXML.responseText
Nov 13 '05 #18
MLH <CR**@NorthState.net> wrote in
news:cp********************************@4ax.com:
Here's the HTML for the last page (the one you cannot get to w/o
a valid PIN). I see nothing in it illuminating the pathway of
righteousness. May be you can...

<!-- Please read http://content.arch.com/developer/ before you try
to
automate to this CGI -->


It says you have to use POST instead of GET. The latter is what is
used in the examples I gave you. RKC has given you the solution
using the MSXML object. I'm not sure I'd use that unless it were the
only possible way to do it.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #19

MLH wrote:
I know it seems that I've asked about the same subject
in a couple of instances, but this site and the ones for
Verizon and Nextel seemed different to me. It is confusing
for me so I do apologize.


The owners of most web sites do not want programs to interact with
their sites. There are many reasons for this. One is that they may have
worked hard to gather the information or written the program for the
site, and they are not eager to share the rewards with someone who is
using the site or its information in a way they have not intended
and/or of which they do not approve. Another is that sites, like
databases have a limit to the number of connections thay can absorb. Of
course, programs interacting with the site, are likely to use many many
of these connections and cause the site to fail, or to slow down
enormously. This is how hackers can cause a denial of service, as they
did for Dalnet a year or so ago.

It is to combat this programmed theft of information or service that we
have to complete the numbers or characters from little pictures when we
log into some sites ot use some services.

When your program use sites in ways which may result in denial of
service you may be breaking various laws. Regardless, you are being
unethical.

If you want data, buy or build the database; if you want to provide a
service, write your own technology to do so.

If you have the permission or best wishes of the site owner then get
from that person the information you need about using the site.

Nov 13 '05 #20
MLH
Indeed, you have made a good point - one that I support.
Nov 13 '05 #21
MLH
Success at last.

And, if I may say, I couldn't have tackled this myself
because the material was too vast. This has genuinely
been a learning experience for me, guys - you all know
who you are. I appreciate you putting up with my bullshit
questions that seem to come from - well, God only knows
where sometimes.

If I run into dfficulties in the future, I will try to contain my
question into a much narrower scope so it will not appear
as though I've done nothing on my own to engage the
problem beforehand.
Nov 13 '05 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: StenKoll | last post by:
Help needed in order to create a register of stocks in a company. In accordance with local laws I need to give each individual share a number. I have accomplished this by establishing three tables...
8
by: Steve Jorgensen | last post by:
Hi folks, I'm posting this message because it's an issue I come up against relatively often, but I can't find any writings on the subject, and I haven't been able to figure out even what key...
12
by: Santosh | last post by:
Since I just started my new work, I have inherited a MS Access database which has nearly 13000 records in a single table. Now, my mandate is to clean the database and maybe split the table into...
2
by: Kevin Myers | last post by:
Hello, Have yet another problem on a form that has me stumped. In a table that I am working with, the values for one of the fields are stored in meters. However the values that are supplied for...
5
by: Philipp Schumann | last post by:
Hi, In a class library that may be consumed by .exe as well as web applications, I need to determine the "main" or "entry" assembly of the current application. Unfortunately,...
8
by: Radx | last post by:
Here in my web application, I have a data entry page with serval controls. Some of the controls have autopostback is set true. But the problem is when two or more people are entering data at the...
1
by: NumberCruncher | last post by:
Hi All, I am struggling with setting up my first system of tables, forms,and reports, and could use your help! I am setting up a database to keep track of the production of a produced item. The...
4
by: ChrisFrohlich | last post by:
I am trying to deploy two copies of an application to a single website using two virtual directories: "2007" (Production) and "Demo". Each of these applications should point at a different DB, so...
2
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.