This is a discussion on how to conditionally submit a form without a button? within the PHP Language forums, part of the PHP Programming Forums category; Basically, my php script runs on my serve all day along. If the php script finds something new, I'd ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Basically, my php script runs on my serve all day along. If the php
script finds something new, I'd like to get an email alert(which is done) and a cell phone alert, which has to be done through a "post" form (not through email). Can any one give me some hint on how to do this: conditionally submit a form without a button? I guess I need some javascript? Many thanks. |
|
|||
|
henry wrote:
> Basically, my php script runs on my serve all day along. If the php > script finds something new, I'd like to get an email alert(which is > done) and a cell phone alert, which has to be done through a "post" > form (not through email). Can any one give me some hint on how to do > this: conditionally submit a form without a button? > > I guess I need some javascript? Many thanks. > Is this your form? If so, I wouldn't even bother using a form - just do it directly from your code. But my impression is that it isn't your form - it belongs to your cellular provider or similar. In that case javascript won't help you (why would you even ask about it in a PHP newsgroup?). You need to check out Curl. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |
|
|||
|
Yes. The form belongs to my cellular provider. I post the question
here because the web page is written in PHP. Thanks. On Jun 27, 11:22 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote: > henry wrote: > > Basically, my php script runs on my serve all day along. If the php > > script finds something new, I'd like to get an email alert(which is > > done) and a cell phone alert, which has to be done through a "post" > > form (not through email). Can any one give me some hint on how to do > > this: conditionally submit a form without a button? > > > I guess I need some javascript? Many thanks. > > Is this your form? If so, I wouldn't even bother using a form - just do > it directly from your code. > > But my impression is that it isn't your form - it belongs to your > cellular provider or similar. > > In that case javascript won't help you (why would you even ask about it > in a PHP newsgroup?). You need to check out Curl. > > -- > ================== > Remove the "x" from my email address > Jerry Stuckle > JDS Computer Training Corp. > jstuck...@attglobal.net > ================== |
|
|||
|
henry wrote:
> Yes. The form belongs to my cellular provider. I post the question > here because the web page is written in PHP. Thanks. > > On Jun 27, 11:22 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote: >> henry wrote: >>> Basically, my php script runs on my serve all day along. If the php >>> script finds something new, I'd like to get an email alert(which is >>> done) and a cell phone alert, which has to be done through a "post" >>> form (not through email). Can any one give me some hint on how to do >>> this: conditionally submit a form without a button? >>> I guess I need some javascript? Many thanks. >> Is this your form? If so, I wouldn't even bother using a form - just do >> it directly from your code. >> >> But my impression is that it isn't your form - it belongs to your >> cellular provider or similar. >> >> In that case javascript won't help you (why would you even ask about it >> in a PHP newsgroup?). You need to check out Curl. >> cUrl is the right way to do it, but are you sure your cellular provider does not also have email submission of text messages ? mine (Verizon) does. bill |
|
|||
|
> cUrl is the right way to do it, but are you sure your cellular
> provider does not also have email submission of text messages ? > mine (Verizon) does. > > bill And they don't provide any other means to messages, like soap-service? -- Jussi Deep abstraction kills strong typing. http://disczero.com http://naamio.net http://hoffburger.com |
|
|||
|
henry wrote:
> Yes. The form belongs to my cellular provider. I post the question > here because the web page is written in PHP. Thanks. > > On Jun 27, 11:22 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote: >> henry wrote: >>> Basically, my php script runs on my serve all day along. If the php >>> script finds something new, I'd like to get an email alert(which is >>> done) and a cell phone alert, which has to be done through a "post" >>> form (not through email). Can any one give me some hint on how to do >>> this: conditionally submit a form without a button? >>> I guess I need some javascript? Many thanks. >> Is this your form? If so, I wouldn't even bother using a form - just do >> it directly from your code. >> >> But my impression is that it isn't your form - it belongs to your >> cellular provider or similar. >> >> In that case javascript won't help you (why would you even ask about it >> in a PHP newsgroup?). You need to check out Curl. >> >> -- >> ================== >> Remove the "x" from my email address >> Jerry Stuckle >> JDS Computer Training Corp. >> jstuck...@attglobal.net >> ================== > > No problem with posting here. And CURL is the way to go. See http://www.php.net/curl. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |