
thebobby
Members-
Posts
171 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by thebobby
-
/* $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."'"); } } */
-
ok thanks for the input.
-
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.
-
I never said that is code i was wanting to know wat that is for.. // Commandline only if(!isset($_SERVER['argc'])) die("Reticulating Splines
-
// Commandline only if(!isset($_SERVER['argc'])) die("Reticulating Splines this code is in all my cron phps
-
i dont have rollover and looked it all my cron files and nothing to do with deleteing users. 3 cron have include 'classe121.php';
-
thats it i dont know which one it is
-
require_once("classe121.php"); thats where the function for game is might be in there but nothing saying delete.
-
would this be it? // Commandline only if(!isset($_SERVER['argc'])) die("Reticulating Splines");
-
lol i know but cant find the cron. wat should i look for is there a different name besides delete
-
member from being deleted if they havent been on in a awhile..... grps please help
-
how would i add bbcodes to mail as i can add str_replace to that
-
$msgtext = str_replace( array ('Google', 'Yahoo'), array ('Duck Duck Go', 'AltaVista'), $var); wont let any words through
-
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
-
$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 ));
-
ok wat if i do it my way wat varibles you talking about
-
does that go in classes or mailbox
-
$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
-
I would like some mods message me
-
Fatal error: Cannot redeclare class bbcode in /home/blaz1986/public_html/bbcode_engine1.php on line 8