delete all pms in tools

Started on the old forum in April 2009 · view the original in the archive · old links redirect here

12 replies · 820 views · started 17 years ago · 1 min read

5 participants
lee27 Developer · 63 posts #1

any ov ya able help me do this eres wot i got in hostproc wen i click it it just deletes read inboxs and not all inboxs

//////////////////////////clear inboxs//////////////////////////
else if($action=="delallpms")
{
  echo "<head>";
  echo "<title>Host Tools</title>";
  echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
  echo "</head>";
  echo "<body>";
  echo "<p align=\"center\">";
  echo "<br/>";
  $res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1'");
  if($res)
  {
  echo "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS  were deleted";
  }else{
  echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
  }
  echo "<a href=\"hostcp.php?action=clrdta&sid=$sid\">Clear Data</a><br/>";
  echo "<a href=\"hostcp.php?action=hostcp&sid=$sid\"><img src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
  echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
  echo "</p></body>";
}
 

any help b great guys thanx

using name geordielee now

subzero Super moderator Fellow · 3,954 posts #2

not pinned inbox dont deleted

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

subzero Super moderator Fellow · 3,954 posts #3

This code here will delete all

//////////////////////////clear inboxs//////////////////////////
else if($action=="delallpms")
{
echo "<head>";
echo "<title>Host Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<br/>";
$res = mysql_query("DELETE FROM ibwf_private");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
}
echo "<a href=\"hostcp.php?action=clrdta&sid=$sid\">Cle ar Data</a><br/>";
echo "<a href=\"hostcp.php?action=hostcp&sid=$sid\"><im g src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></body>";
}

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

metulj Super moderator Principal · 1,726 posts #4

subzero wrote: This code here will delete all

//////////////////////////clear inboxs//////////////////////////
else if($action=="delallpms")
{
echo "<head>";
echo "<title>Host Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "<br/>";
$res = mysql_query("DELETE FROM ibwf_private");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
}
echo "<a href=\"hostcp.php?action=clrdta&sid=$sid\">Cle ar Data</a><br/>";
echo "<a href=\"hostcp.php?action=hostcp&sid=$sid\"><im g src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></body>";
}

and then users will 'kill' owner LMAO:D🏹🤪

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

subzero Super moderator Fellow · 3,954 posts #5

lol thats so true! 😀

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

lee27 Developer · 63 posts #6

lol thanx m8 its not for owners just me as host incase i need it save me goin in database to do it thanx bud

using name geordielee now

lee27 Developer · 63 posts #7

i did want just ghost inboxs to b deleted but am new to this so not sure if can b done

using name geordielee now

subzero Super moderator Fellow · 3,954 posts #8

this will delete whats being entered in sql

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

lee27 Developer · 63 posts #9

yeah thanks i just added it and works nice 1 bud

using name geordielee now

wackywizards Junior · 44 posts #10

lee27 wrote: yeah thanks i just added it and works nice 1 bud

whats the coding ur using for host tools i been trying to get host tools on my script so i am not down as owner on my sites can u help me please with it thanks

amylee Principal · 1,092 posts #11

could also just add in a tiny bit where it says $res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1'");

to

$res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1' AND read='1'");

wackywizards Junior · 44 posts #12

whats the coding ur using for host tools i been trying to get host tools on my script so i am not down as owner on my sites can u help me please with it thanks

amylee Principal · 1,092 posts #13

i'm not stupid enough to add tools like that to my scripts so i don't use any all my work is done via a root terminal from my server so cannot give you anything sorry

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