send invite help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    send invite help

    who can please help me the user can send a invite to a user from site but my prob is the message dnt get dilivered to the email

    here are the genproc file where i think the prob are
    Code:
    /////////////////////////////////////////send invite
    else if($action=="invite")
    {
        addonline(getuid_sid($sid),"sending invite","");
        $avid = $_GET["avid"];
        echo "<p align=\"center\">";
      //$uid = getuid_sid($sid);
      $whonick = getnick_uid($uid);
      $str = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
       $shuffled = str_shuffle($str);
    
    // This will echo something like: bfdaec
    $code = substr($shuffled, 0, 6);
    
      $res = mysql_query("INSERT INTO code SET code='".$code."', uid='".$uid."'");
      if($res)
            {
                $from_head .= "From:$from";
                $subject = "By $whonick (retrivewap.co.za)";
                $content = "Date: ".date("l d/m/y H:i:s")."\n\n";
                $content .= "Invite code:$code\n";
                $content .= "http://retrivewap.co.za/register.php\n";
                $content .= "$whonick on retrivewap wants you to join our wap community we got the bet online features you get 75 plusses if you register with this code\n";
                $content .= "Forums:\n";
                $content .= "ask any thing, discuss anything, and share information and thoughts with people from all around the world, we have more than 20 different forums that covers many subjects, that you rarely see in any other forums, plus many forums created by the users them selves (at the moment more than 50 forums).\n";
                $content .= "Chat rooms:\n";
                $content .= "Get to know handreds of people and counting, awesome chat script that will allow you to create private rooms, or chat in general rooms, with funny and special functions that makes our chat the most unique chat on wap, easily send private or public message in the same room, chat in esreveR words or with our funny chatbot, in a nut shell: UNLIMITED CHAT FEATURES!\n";
                $content .= "Fun Menu:\n";
                $content .= "Games, and other fun things to have while you waiting your buddies to be online, new games will be added, to let you never be bored while you're in retrivewap\n";
                $content .= "Buddies List:\n";
                $content .= "The buddies list will make you so close to your favorite members on our community, quickly reach them and know some information about them.\n";
                $content .= "Ignore list:\n";
                $content .= "So is somebody is really bothering you? you can simply add them to your ignore list and then they wont be able to send you PMs or chat to you in chatrooms, as simple as that.\n";
                $content .= "Smilies:\n";
                $content .= "Huge collection of funny and unique smilies, some of them you have never seen before simply because we designed them.\n";
                $content .= "BBCodes:\n";
                $content .= "use special codes to format your text, some of them are really unique and we are the first to use them.\n";
                $content .= "E-cards:\n";
                $content .= "send greeting cards, to any member in retrivewap\n";
                $content .= "RSS reader:\n";
                $content .= "read world news, sport news, jokes, star signs, weird stories, technology news, and many more from official resources updated constantly anytime of the day\n";
                $content .= "Inbox:\n";
                $content .= "Send and recieve Personal Messages to any member, with great features to let you filter inbox view, dialogs (which will let you see a chat text style of PMs was sent to or recieved from a specific member) , star PMs, download them and forward them to your e-mail.\n";
                $content .= "Clubs:\n";
                $content .= "After getting 500 plusses in retrivewap you can create your own club which will let you create your own forum, and chatroom, and you have the option to allow who you want to join your club, under your own rules.\n";
                $content .= "Personal Wap Site:\n";
                $content .= "Get your own http://retrivewap.co.za/users?yournick site the moment you register, allowing any person on earth to know personal information about you, read your blogs, see your events, and many more coming features\n";
                $content .= "And more!:\n";
                $content .= "Blogs,pop-up msgs, polls, calendar, address book, extended users profile, huge collection of avatars, galleries, downloads, guestbook and many features to come.\n";
                $content .= "Invite code:$code\n";
                $content .= "http://retrivewap.co.za/register.php\n";
                $content .= "retrivewap.co.za: The best wap community!";
                mail($email, $subject, $content, $from_head);
     
              echo "<img src=\"images/ok.gif\" alt=\"o\"/>Invite has been sended<br/>";
            }else{
              echo "<img src=\"images/notok.gif\" alt=\"x\"/>Database Error!<br/>";
            }
            echo "<br/>";
      
         echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
      echo "</body>";
    }

    #2
    this code is alright put your genproc.php code
    E107 Security Team Leader
    Proudly Support AccountLab Plus Billing Software

    Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com
    ------------------

    Comment

    Working...
    X