html POST without a submit button?

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
ok guys...any of you know how to get a webpage to post as soon as its visited? I want the page to immediately post data to another page when launched without having to click OK or submit. Anyone?

Thanks,
Dan
 

MrScott81

Golden Member
Aug 31, 2001
1,891
0
76
what kind of information do you want? you could use a cold fusion module and some javascript to send the data...
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
what do you mean a cold fusion module? which module would that be?

and isn't there a way to just plain post it without a submit button?

thanks...Dan
 

zimu

Diamond Member
Jun 15, 2001
6,210
0
0
what kind of info? like IP address and stuff?
you could use PHP too

tell me what you're trying to do.
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
basically, I'm trying to post a message to sprints message server so I can send a message to my phone when my server's power goes out. because sprint's e-mail based text messages SUCK, you are forced to use THEIR web interface to send messages that will get there within a reasonable amount of time.
 

zimu

Diamond Member
Jun 15, 2001
6,210
0
0
Originally posted by: dmurray14
basically, I'm trying to post a message to sprints message server so I can send a message to my phone when my server's power goes out. because sprint's e-mail based text messages SUCK, you are forced to use THEIR web interface to send messages that will get there within a reasonable amount of time.

how the hell will it send a message to your phone if the server is down? server needs to be up for the page to load to send the message to your phone.

plus on top of that, the page would have to be reloading like every second from the SERVER side (unless you leave a client machine manually reloading that page throughout the day) to generate the message to your phone.

my suggestion. get a free "siteuptime.com" account. have it send you email when your site goes down. configure your email program to automatically filter incoming messages from siteuptime.com and forward it to your phone.

saves you loads of programming that probably won't work.
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
zimu,

I have a UPS on the server, obviously. When the server loses power, it will run a command, in my case "iexplore [the page i'm making]" which would then immediately send a message to my phone.

For your second question - as I said in my first post - sprint's messaging system SUCKS. The only way for me to get a message delivered to my phone in good time is to use their web-based "send a text message" form. Therefore, I need to make a page that will send the data to their servers and then to my phone. Nothing else will work, because I won't get the message until a few hours later if I use any other way.

Make sense?
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
Originally posted by: zimu
oh and p.s.

you can message a sprintpcs phone through regular email.

phonenumber@messaging.sprintpcs.com.

free of charge. sends it as a page. works perfect. any email program.

and PS...that is exactly what I was talking about when I said their e-mail based system sucks. On average, it will take ~1 day to get a message to my phone using that email address. THis would not work for this application. Trust me, I have tried.
 

rh71

No Lifer
Aug 28, 2001
52,856
1,048
126
IE page load --> .cfm containing CFMAIL tag/attributes/message, etc.. It's cake if you know (and have) ColdFusion. I have many of my pages email me that someone has just visited as the first thing the page does...
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
Originally posted by: rh71
IE page load --> .cfm containing CFMAIL. It's cake if you know (and have) ColdFusion.

Thanks... I tried that method too. Unfortunately, as I said, the email system takes forever to get the message to my phone, so unfortunately that's not going to work. But it will work for sending to my other e-mail addresses...
 

zimu

Diamond Member
Jun 15, 2001
6,210
0
0
Originally posted by: dmurray14
zimu,

I have a UPS on the server, obviously. When the server loses power, it will run a command, in my case "iexplore [the page i'm making]" which would then immediately send a message to my phone.

For your second question - as I said in my first post - sprint's messaging system SUCKS. The only way for me to get a message delivered to my phone in good time is to use their web-based "send a text message" form. Therefore, I need to make a page that will send the data to their servers and then to my phone. Nothing else will work, because I won't get the message until a few hours later if I use any other way.

Make sense?

ahhh i see

so i'm the stupid one
xede's suggestion at the top would work in this case.
easiest suggestion. if you have a website that supports php, automatically load the page.

in the php page have a script that will load the target page for sprints' message system with the variables in the URL, for e.g. sendmessage.html?number=9194444444&message=hi there

weird that the email thing doesn't work. usually goes through instantaneously for me!
 

rh71

No Lifer
Aug 28, 2001
52,856
1,048
126
Originally posted by: dmurray14
Originally posted by: rh71
IE page load --> .cfm containing CFMAIL. It's cake if you know (and have) ColdFusion.

Thanks... I tried that method too. Unfortunately, as I said, the email system takes forever to get the message to my phone, so unfortunately that's not going to work. But it will work for sending to my other e-mail addresses...
did you try cfhttp and pass vars to the sprint page ?
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
Got it guys...the body.onload trick worked. The page is just posting the data from a pre-filled form and sending it off to sprint. Thanks for the help!

Zimu,

thanks...sounds a little too advanced for me though!
 

zimu

Diamond Member
Jun 15, 2001
6,210
0
0
Originally posted by: dmurray14
Got it guys...the body.onload trick worked. The page is just posting the data from a pre-filled form and sending it off to sprint. Thanks for the help!

Zimu,

thanks...sounds a little too advanced for me though!

i'm bored enough... i'll see if i can figure it out. will be intouch.
 

zimu

Diamond Member
Jun 15, 2001
6,210
0
0
Originally posted by: dmurray14
Got it guys...the body.onload trick worked. The page is just posting the data from a pre-filled form and sending it off to sprint. Thanks for the help!

Zimu,

thanks...sounds a little too advanced for me though!

hey, i think my solution was easier!!
 

dmurray14

Golden Member
Feb 21, 2003
1,780
0
0
Originally posted by: zimu
Originally posted by: dmurray14
Got it guys...the body.onload trick worked. The page is just posting the data from a pre-filled form and sending it off to sprint. Thanks for the help!

Zimu,

thanks...sounds a little too advanced for me though!

hey, i think my solution was easier!!

whoa...that was awesome. I didn't know it would accept URL values! Thanks so much...


Dan
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |