Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Send a String to another URL

by virtualweb (Sexton)
on May 12, 2011 at 08:26 UTC ( #904316=note: print w/replies, xml ) Need Help??

in reply to Re: Send a String to another URL
in thread Send a String to another URL

Thank you for you prompt response .

My script is processing a purchase order from a shopping cart. I want to give the seller a sales notification via SMS, so I signed up with one of those Bulk API services.

They gave me a URL where to send the parameters for a text message as follows:

http://SERVERIP/httppush/http.aspx?text=TEXTMESSAGE&source=SOURCENUMBER&desti nation=DESTINATIONNUMBER&username=USERNAME&password=PASSWORD&datacodi ng=1

I need to replace all the Capitalized words with the pertinent information: The sender's number, the recipient's number, etc.

If I cannot place the "Location" bit below the extra line caused by "\n\n" , is there a system call that can be used in this case..?? someone suggested: system("wget") but I dont have the complete construct of this line.

Replies are listed 'Best First'.
Re^3: Send a String to another URL
by thewebsi (Scribe) on May 12, 2011 at 13:57 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://904316]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-06-19 01:49 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (111 votes). Check out past polls.