On 04/30/2008 11:02 AM, Tris wrote:
> I'm on a site that send SMS's to users.
> To do that, I just need to visit a URL and change a few of the GET variables.
> All good.
> 
> How can I do that in 'secret' so that the user doesn't know.
> 
> I've tried fopen and touch... both of which fail.. but when I visit
> the URL, it send the SMS...

Sounds like you're trying to do it from PHP.

fopen ought to work, assuming you have allow_url_fopen enabled.

What do you get back from the fopen() attempt?  Do they give a page back
with an error message?

It's possible that they don't respond to requests with a User-Agent
which looks like a script calling them, to stop people doing what you're
trying to do.

If you're feeling dirty, of course you could just fake your user-agent
header to be whatever you feel like pretending to be (although if you're
making lots of requests, they might just block your IP).

For what it's worth, I use AQL (www.aql.com) for SMS messaging, they
have useful APIs.  (And, if you were using Perl, you could use my
SMS::AQL module to interact with them too).

Cheers

Dave P


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
       Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to