Results 1 to 17 of 17

Thread: how do I send message to web site/email

  1. #1
    Join Date
    Mar 2012
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how do I send message to web site/email

    I want to send a message to my free website or email so I can check the bot is working when I am away can someone show me how to do this, or give me an example. I have tried to use some of the tuts on version checking for scripts but always get stuck. I am using webs.com please help thankyou!
    Last edited by f1fanatic; 05-03-2012 at 09:58 PM.

  2. #2
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    No need to offer to pay for this. In fact, remove that from your post or else you're gonna a whole load of members complaining about it

    On Topic: I'll look into this for you, but don't get too happy as I've never done this myself

  3. #3
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    PostHTTPPageEx
    There used to be something meaningful here.

  4. #4
    Join Date
    Nov 2011
    Location
    Louisiana
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    PostHTTPPageEx
    Can you elaborate on this please? That'd be awesome! Thanks

  5. #5
    Join Date
    Mar 2012
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    No need to offer to pay for this. In fact, remove that from your post or else you're gonna a whole load of members complaining about it

    On Topic: I'll look into this for you, but don't get too happy as I've never done this myself
    thank-you! I updated my post

    Quote Originally Posted by Frement View Post
    PostHTTPPageEx
    could you elaborate a little by any chance? thanks

  6. #6
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Simba Code:
    function PostHTTPPage(Client: Integer;const Url,PostData: string): string;

    This posts the data (PostData) on the web page (Url) of the client (Client).

  7. #7
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Simba Code:
    Result := PostHTTPPage(1, 'http://mysite.com/page.php', 'data1=somedata1&data2=somedata2');

    PHP Code:
    <?php

    $data1 
    $_POST["data1"];
    $data2 $_POST["data"];

    echo 
    $data1."<br />".$data2;

    ?>
    EDIT: Now Result variable in Simba will print: 'somedata1<br />somedata2'

    You need your PHP file to process the information how you want.
    There used to be something meaningful here.

  8. #8
    Join Date
    Apr 2007
    Location
    Los Angeles
    Posts
    622
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Why not just use logmein software, you can not only check from your iPhone or any computer with Internet but also restart your script and control your entire pc.

  9. #9
    Join Date
    Nov 2011
    Location
    Louisiana
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by punkd View Post
    Why not just use logmein software, you can not only check from your iPhone or any computer with Internet but also restart your script and control your entire pc.
    But there's really no point of checking over and over and over and it can be time consuming. If you were to get an email notification, say, when you got a random, then it would be worth logging in and dealing with it then. The way I'd do this is just set up the RandomTool with a long wait, or just have the script Terminate when it found a random.

    This actually would be sooooo useful. I wish I could get it working to send me an email.

  10. #10
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by punkd View Post
    Why not just use logmein software, you can not only check from your iPhone or any computer with Internet but also restart your script and control your entire pc.
    How does this software work, and which product is it?
    Scripting powerlevel = [||||||||]

  11. #11
    Join Date
    Apr 2007
    Location
    Los Angeles
    Posts
    622
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by shstiger2009 View Post
    But there's really no point of checking over and over and over and it can be time consuming. If you were to get an email notification, say, when you got a random, then it would be worth logging in and dealing with it then. The way I'd do this is just set up the RandomTool with a long wait, or just have the script Terminate when it found a random.

    This actually would be sooooo useful. I wish I could get it working to send me an email.
    But when your away, you really have no way of fixing the random itself. Even if you do get an email

    Quote Originally Posted by ssshhhaaa View Post
    How does this software work, and which product is it?
    Logmein, allows you to remotely control your pc or Mac from virtually anywhere with Internet.

  12. #12
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by punkd View Post
    But when your away, you really have no way of fixing the random itself. Even if you do get an email


    Logmein, allows you to remotely control your pc or Mac from virtually anywhere with Internet.
    Is it better than Team viewer (does team viewer have a online viewing open too?)
    Scripting powerlevel = [||||||||]

  13. #13
    Join Date
    Nov 2011
    Location
    Louisiana
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by punkd View Post
    But when your away, you really have no way of fixing the random itself. Even if you do get an email
    Yeah I would, I'd just log in from my laptop which I pretty much have access to at all times of the day. I use a desktop at my apartment.

  14. #14
    Join Date
    Dec 2011
    Location
    Behind you...
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I tried logMeIn but it doesn't seem to work with portable browsers (in my memory stick) it just crashes when the page comes up where its supposed to connect.
    Scripting powerlevel = [||||||||]

  15. #15
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    You would want to learn how to code in a web language. PHP would probably be the most ideal for your situation. You would want to learn how to read POSTDATA ($_POST), how to store information in a text file (read/write), and how to send mail using PHP. Then you're all set.

    Not to say it is hard, it is actually an incredibly easy thing to do
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  16. #16
    Join Date
    Feb 2012
    Posts
    170
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    How would you run the PhP code though? would it be a seperate program that you executed?

  17. #17
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    Yeah, could any one just give a sample php script (just couple of line) to show how post http works?
    EDIT: Thanks frement
    Last edited by Main; 05-10-2012 at 11:30 PM.
    Oh Hai Dar

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •