handling all repoted pm by one clck for lavalair wml code

Started on the old forum in March 2010 · view the original in the archive · old links redirect here

2 replies · 352 views · started 16 years ago · 1 min read

3 participants
sklbd Junior · 47 posts #1

any one can share handling all repoted pm by one clck for lavalair wml code

ShaK!L AhammeD

Sklifbd.CoM +88-01730039272

i0nutzxp Developer · 150 posts #2
 $sql = "SELECT id, text, byuid, touid, timesent FROM ibwf_private WHERE reported='1'";
    $items = mysql_query($sql);
$erors = 0;
while ($item=@mysql_fetch_array($items)){
$c = mysql_query("UPDATE ibwf_private SET reported='2' WHERE id='".$item[0]."'");
if($c)$x=  mysql_query("INSERT INTO ibwf_mlog SET action='Handle in mass', details='<b>".getnick_uid(getuid_sid($sid))."</b> handle pm ".$item[0]."', actdt='".time()."'");
if($c==false && x==false)$erors++;
}
if($erors==0)echo "All the reported pm were handled succesfull<br/>"; else echo "The db sucks. $erors erors<br/>";

9:42 the time from the clock that means tha code can be wrong 😛 tell me if it doesnt work:)

<?php unlink('World/Europe/Romania.country'); ?>
ewanz Developer · 187 posts #3

nice codes.. but it is good if u have the tool first for owner...

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close