Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Hi, I am trying to make a script call a url that sends text messages. here is what i have to call,
http://www.intellisoftware.co.uk/smsgateway/sendmsg.aspx?username=xxx& +password=xxx&to=12345678&text=this%20is%20my%20text&sender=me
where all the string elements are set as variables in the script below.
if ($form{'ASSMS'} eq "Yes") { $ring = "0"; $smsdate = $Day.$monnm.$yearx; $smslogtitle = $smsdate; $smstitlea = $form{'DESTINY'}; $smstitleb = "44"; $smstitled = substr($smstitlea, 1, 10); $smstitle = $smstitleb.$smstitled.$smstitlec; $smsuser = "xxx"; $smspass = "xxx"; $smsto = $smstitleb.$smstitled; $smssender = "DMSTEST"; $smsmsg = "$form{'DESC'} Ref: $form{'REQREF'}"; $smsmax = "3"; $smsmsg =~ s/\ /%20/g; $smsurl = "http://www.intellisoftware.co.uk/smsgateway/sendmsg.aspx?us +ername=$smsuser&password=$smspass&to=$smsto&from=$smssender&text=$sms +msg&maxconcat=$smsmax"; NEED TO CALL URL HERE $adtitle = $form{'FILEBIT'}; &oops('Cannot write') unless (open(NEWITEM, ">>$basepath/Parts/$adtitl +e.dat")); print NEWITEM "\n$form{'TSTAMP'}-$form{'initials'}-SMS-$form{'DESC'}"; close NEWITEM; $izsent = 1 ; open(NEWITEM, ">>$smslog/$smslogtitle.dat"); print NEWITEM "\n$Hour:$Minute-$form{'DESTINY'}-$form{'REQREF'}-$form{'DESC'}"; close NEWITEM; print $smsurl; print <<"EOF"; <p align="center"><font face="Verdana">Your text message has been logg +ed and sent !</p> EOF }
the script works in that I can get it to print on screen the exact url i need, but i am not sure how to make the script call that url in IE. Any Help would be appreciated. Cheers Michael

In reply to Call URL by dmsparts

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (11)
    As of 2014-11-21 16:36 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My preferred Perl binaries come from:














      Results (114 votes), past polls