Connecting Tech Pros Worldwide Forums | Help | Site Map

genius-level form question

Westcoast Sheri
Guest
 
Posts: n/a
#1: Jul 17 '05
Normally, if I want to know if someone viewed a particular page, I use the
php's "mail()" function (because I check my email lots more than I check my
weblogs :-)

Now I want to know how get php to "text-message" my cellphone!

Here's the idea: my cellphone website has a "send someone a text message"
page. On that page, there are 3 form objects:

a.) input for the 9-digit recipient phone
b.) input for the text message
c.) a "submit" button.

So.... would there be a way where if a visitor visits my page, the php code
would "fopen()" the cellphone website page, input my 9 digit cell number,
and a brief text message (like, "visited"), and then submit the form?

Thanks!


Michael Vilain
Guest
 
Posts: n/a
#2: Jul 17 '05

re: genius-level form question


In article
<BE19809C.6BCF5%westshestcostsheastsheri@westshest costsheastsher.com>,
Westcoast Sheri <westshestcostsheastsheri@westshestcostsheastsher. com>
wrote:
[color=blue]
> Normally, if I want to know if someone viewed a particular page, I use the
> php's "mail()" function (because I check my email lots more than I check my
> weblogs :-)
>
> Now I want to know how get php to "text-message" my cellphone!
>
> Here's the idea: my cellphone website has a "send someone a text message"
> page. On that page, there are 3 form objects:
>
> a.) input for the 9-digit recipient phone
> b.) input for the text message
> c.) a "submit" button.
>
> So.... would there be a way where if a visitor visits my page, the php code
> would "fopen()" the cellphone website page, input my 9 digit cell number,
> and a brief text message (like, "visited"), and then submit the form?
>
> Thanks![/color]

My service (ATT/Cingular) offers an email<-->textmessage gateway. You
send email to my phone through their service and it sends a text
message. Verizon offers this as well. Doesn't your provider offer it?

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Manuel Lemos
Guest
 
Posts: n/a
#3: Jul 17 '05

re: genius-level form question


Hello,

on 01/23/2005 10:26 PM Westcoast Sheri said the following:[color=blue]
> Normally, if I want to know if someone viewed a particular page, I use the
> php's "mail()" function (because I check my email lots more than I check my
> weblogs :-)
>
> Now I want to know how get php to "text-message" my cellphone!
>
> Here's the idea: my cellphone website has a "send someone a text message"
> page. On that page, there are 3 form objects:
>
> a.) input for the 9-digit recipient phone
> b.) input for the text message
> c.) a "submit" button.
>
> So.... would there be a way where if a visitor visits my page, the php code
> would "fopen()" the cellphone website page, input my 9 digit cell number,
> and a brief text message (like, "visited"), and then submit the form?[/color]

Here you may find several SMS gateway classes in PHP:

http://www.phpclasses.org/browse/class/16.html

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jerry Sievers
Guest
 
Posts: n/a
#4: Jul 17 '05

re: genius-level form question


Westcoast Sheri <westshestcostsheastsheri@westshestcostsheastsher. com> writes:
[color=blue]
> So.... would there be a way where if a visitor visits my page, the
> php code would "fopen()" the cellphone website page, input my 9
> digit cell number, and a brief text message (like, "visited"), and
> then submit the form?[/color]

Sure there is. Read up on 'curl'.

Even easier for some phone services is an email gateway. I suggest
you verify that this does NOT exist before going the curl route.

HTH

PS: Evidently your site gets very few visitors!

--
-------------------------------------------------------------------------------
Jerry Sievers 305 854-3001 (home) WWW ECommerce Consultant
305 321-1144 (mobile http://www.JerrySievers.com/
Jeff
Guest
 
Posts: n/a
#5: Jul 17 '05

re: genius-level form question


Most cell providers offer email. Just your phone number @whatever.com.
That is basically how you can download ringtones and what not. An easy
way to find your cell email is to open a yahoo account, edit the mail
filters and register your phone, they tell you your phone's email
address.


Anyone with a tmobile account that can have text messages should be
able to send emails to their phone by entering something like this:
0000000000@tmomail.net.

That will get sent directly to your phone. You should check with your
provider to see what you email address is.

Jeff
Jerry Sievers wrote:[color=blue]
> Westcoast Sheri[/color]
<westshestcostsheastsheri@westshestcostsheastsher. com> writes:[color=blue]
>[color=green]
> > So.... would there be a way where if a visitor visits my page, the
> > php code would "fopen()" the cellphone website page, input my 9
> > digit cell number, and a brief text message (like, "visited"), and
> > then submit the form?[/color]
>
> Sure there is. Read up on 'curl'.
>
> Even easier for some phone services is an email gateway. I suggest
> you verify that this does NOT exist before going the curl route.
>
> HTH
>
> PS: Evidently your site gets very few visitors!
>
> --
>[/color]
-------------------------------------------------------------------------------[color=blue]
> Jerry Sievers 305 854-3001 (home) WWW ECommerce Consultant
> 305 321-1144 (mobile http://www.JerrySievers.com/[/color]

R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#6: Jul 17 '05

re: genius-level form question


Westcoast Sheri wrote:
<snip>[color=blue]
> So.... would there be a way where if a visitor visits my page, the[/color]
php code[color=blue]
> would "fopen()" the cellphone website page, input my 9 digit cell[/color]
number,[color=blue]
> and a brief text message (like, "visited"), and then submit the form?[/color]

Google "post2host". Guess, I'm a genius now;-)

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Closed Thread