Jump to content
MakeWebGames

thebobby

Members
  • Posts

    171
  • Joined

  • Last visited

Everything posted by thebobby

  1. in tools file.php
  2. /* $result = mysql_query("SELECT * FROM `grpgusers` ORDER BY `lastactive` DESC"); while($line = mysql_fetch_array($result, MYSQL_ASSOC)) { $secondsago = time()-$line['lastactive']; if ($secondsago > 5184000) { $user_online = new User($line['id']); $result2 = mysql_query("DELETE FROM `grpgusers` WHERE `id`='".$user_online->id."'"); } } */
  3. ok thanks for the input.
  4. well to be honest if u still have your rollover.php that name ppl can make ur site rollover when ever they want too. Yes i have a 24 hour cron and no delete users is not in it.
  5. i have grpg
  6. I never said that is code i was wanting to know wat that is for..   // Commandline only if(!isset($_SERVER['argc'])) die("Reticulating Splines
  7. // Commandline only if(!isset($_SERVER['argc'])) die("Reticulating Splines this code is in all my cron phps
  8. i dont have rollover and looked it all my cron files and nothing to do with deleteing users. 3 cron have include 'classe121.php';
  9. thats it i dont know which one it is
  10. require_once("classe121.php"); thats where the function for game is might be in there but nothing saying delete.
  11. would this be it? // Commandline only if(!isset($_SERVER['argc'])) die("Reticulating Splines");
  12. lol i know but cant find the cron. wat should i look for is there a different name besides delete
  13. member from being deleted if they havent been on in a awhile..... grps please help
  14. how would i add bbcodes to mail as i can add str_replace to that
  15. $msgtext = str_replace( array ('Google', 'Yahoo'), array ('Duck Duck Go', 'AltaVista'), $var); wont let any words through
  16. if ($_POST['newmessage'] != "") { $to = $_POST['to']; $from = $user_class->id; $timesent = time(); $subject = str_replace("yahoo", " ", htmlspecialchars($_POST['subject'], ENT_QUOTES )); $msgtext = str_replace(".yahoo", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $send_person = new User($to); $checkuser = mysql_query("SELECT `id` FROM `grpgusers` WHERE `id`='".$to."'"); $username_exist = mysql_num_rows($checkuser); this is wat i have
  17. $msgtext = str_replace(".yahoo", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $msgtext = str_replace(".ebay", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $msgtext = str_replace(".coke", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $msgtext = str_replace(".green", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES ));
  18. ok wat if i do it my way wat varibles you talking about
  19. 24 hour cron
  20. does that go in classes or mailbox
  21. $subject = str_replace("\\", "\\\\", htmlspecialchars($_POST['subject'], ENT_QUOTES )); $subject = str_replace("yahoo", " ", htmlspecialchars($_POST['subject'], ENT_QUOTES )); $msgtext = str_replace(".yahoo", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $send_person = new User($to); this works if yahoo is wrote in message box it changes to goolge. But want i want is to be able to add more. Like this: $subject = str_replace("\\", "\\\\", htmlspecialchars($_POST['subject'], ENT_QUOTES )); $subject = str_replace("yahoo", " ", htmlspecialchars($_POST['subject'], ENT_QUOTES )); $msgtext = str_replace(".yahoo", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $msgtext = str_replace(".ebay", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $msgtext = str_replace(".coke", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); $msgtext = str_replace(".green", "google ", htmlspecialchars($_POST['msgtext'], ENT_QUOTES )); and when i add more like that it only does the bottom one not the others... so anybody know how i can write the code so i can have muiltiple words. Wats this does is it replace the first word and makes it google. these words are examples
  22. I would like some mods message me
  23. Fatal error: Cannot redeclare class bbcode in /home/blaz1986/public_html/bbcode_engine1.php on line 8
  24. also need to add addtoarmory.php as some ppl may not have where it sends quantity so when adding a item.
  25. No item picked. get that when trying to add item to gang
×
×
  • Create New...