473,378 Members | 1,393 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,378 software developers and data experts.

genius-level form question

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!

Jul 17 '05 #1
5 1240
In article
<BE*************************************@westshest costsheastsher.com>,
Westcoast Sheri <we**********************@westshestcostsheastsher. com>
wrote:
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!


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...

Jul 17 '05 #2
Hello,

on 01/23/2005 10:26 PM Westcoast Sheri said the following:
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?


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
Jul 17 '05 #3
Westcoast Sheri <we**********************@westshestcostsheastsher. com> writes:
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?


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/
Jul 17 '05 #4
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:
00********@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:
Westcoast Sheri <we**********************@westshestcostsheastsher. com> writes:
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?
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/


Jul 17 '05 #5
Westcoast Sheri wrote:
<snip>
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?


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

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

Jul 17 '05 #6

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

Similar topics

34
by: George Hester | last post by:
<html><head><script>z='yCj45%20zeB0+e%21%29OpA6%2CNTn*mkK0+euxe%23i%24NTn*%2 92%2C%29/%21J6%20%7E%3A%20ScUglJ5%2C%5B3G%3DewU%26q%24Ut%3BDA%3CR@FKyp%3Exv%...
3
by: Daniel Dupont | last post by:
Hi there, I want to test a String. This string must be made of - 8 numbers - then a single underscore - and then 6 numbers Can anybody tell me what can be the right .Net pattern ? String...
6
by: GHUM | last post by:
I need to split a text at every ; (Semikolon), but not at semikolons which are "escaped" within a pair of $$ or $_$ signs. My guess was that something along this should happen withing csv.py;...
6
by: X~coder | last post by:
hy i tried to install a genius speed wheel on a pc running xp pro sp2 the problem is that the wheel has a serial conector (it works fine under win 98) but for xp i need a usb conector so i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.