Pm to all buddies

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mysterio
    replied
    ok, here is the code:
    - - - - -
    index.php
    PHP Code:
    echo "<form action=\"confirm.php\" method=\"post\"><br/>";
    echo 
    "<br/><textarea id=\"inputText\" name=\"message\"></textarea><br/>";
    echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Broadcast\"/></form>"
    - - - - -
    confirm.php
    PHP Code:
    $msg $_POST["message"];
    $sql mysql_query("SELECT id FROM ibwf_users");
    while (
    $id mysql_fetch_array($sql))
    {
    mysql_query("INSERT INTO ibwf_private SET byuid = '1', touid = '".$id[0]."', text = '".$msg."', timesent = '".time()."'");
    }
    if(
    $sql)
    {
    echo 
    "Message Sent to All Users!<br/>";
    }
    else
    {
    echo 
    "Error!";

    - - - - -
    Ok, so this is used in lava. Follow the procedure and change the variables to yours (add $sid etc)!
    If it's helped you, please, click "thanks".
    And ask me for more!
    Last edited by metulj; 04.10.09, 10:40. Reason: use [ PHP ] tag [ / PHP ] for posting code/s

    Leave a comment:


  • Mysterio
    replied
    After two hours, i go to my pc, and send you the code, cause i am using mobile now.

    Leave a comment:


  • robzky
    replied
    Haist.. Please code this for us!

    Leave a comment:


  • 12345xmen
    replied
    Use search option dear.

    Leave a comment:


  • robzky
    replied
    Where can i find that script?

    Leave a comment:


  • Mysterio
    replied
    look in lava. There is a service called broadcast. Look how it works.

    Leave a comment:


  • robzky
    replied
    I'll try but i can't help guyz!

    Leave a comment:


  • metulj
    replied
    Originally posted by robzky View Post
    Is there anyone can c0de this? Thanks in advance, for the 0ne wh0 can c0de this.. Thanks!
    similar code has been posted... (PM to all stuff member.. or something like that)
    find that code and mod it..

    Leave a comment:


  • robzky
    started a topic Pm to all buddies

    Pm to all buddies

    Is there anyone can c0de this? Thanks in advance, for the 0ne wh0 can c0de this.. Thanks!
Working...
X