-K1- Posted October 17, 2008 Share Posted October 17, 2008 make a new file called mailprank.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and there you go :D Quote Link to comment Share on other sites More sharing options...
felron Posted October 17, 2008 Share Posted October 17, 2008 Re: [mccodes v2] Mail Prank Mod Umm... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. should be You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. should also add a bit of code to check if they even have 1000 ;) Quote Link to comment Share on other sites More sharing options...
-K1- Posted October 17, 2008 Author Share Posted October 17, 2008 Re: [mccodes v2] Mail Prank Mod yes sorry ^_^ main post updated Quote Link to comment Share on other sites More sharing options...
Colonel Posted October 17, 2008 Share Posted October 17, 2008 Re: [mccodes v2] Mail Prank Mod Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/--------/public_html/mailprank.php:1) in /home/-------/public_html/globals.php on line 3 Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 17, 2008 Share Posted October 17, 2008 Re: [mccodes v2] Mail Prank Mod looks like you can prank yourself Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod i would use but should also add a bit of code to check if they even have 1000 Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. like that? Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. that right Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod Actually i make a slight miscalculation with my code > instead of < my bad so... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Im sure that will work perfectly Quote Link to comment Share on other sites More sharing options...
Colonel Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod Parse error: syntax error, unexpected T_ELSE in /home/--------/public_html/mailprank.php on line 23 Thats with your code Zero Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. try that Quote Link to comment Share on other sites More sharing options...
radio_active Posted October 18, 2008 Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod Is this basically sending a mail so the users name is hidden? I havn't read the code i dont intent to. Quote Link to comment Share on other sites More sharing options...
-K1- Posted October 18, 2008 Author Share Posted October 18, 2008 Re: [mccodes v2] Mail Prank Mod noo it lets other users set other peoples mailcount ^_^ Quote Link to comment Share on other sites More sharing options...
dazboy Posted March 6, 2010 Share Posted March 6, 2010 <?php include "globals.php"; if($_POST['user']) { global $ir,$c,$h,$userid; $_POST['user'] = abs((int) $_POST['user']); $_POST['newmail'] = abs((int) $_POST['newmail']); if($ir['money'] < 1000) { echo 'Invalid Command. You do not have enough money to use this. > Go Home'; $h->endpage(); exit; } else { $query = sprintf('UPDATE `users` SET new_mail = new_mail + %u WHERE userid = %u', $_POST['newmail'], $_POST['user']); $db->query($query); $query = sprintf('UPDATE `users` SET money = money - 1000 WHERE userid = %u', $ir['userid']); $db->query($query); echo 'Prank Done'; } } else { echo ' <h3>Mailpranking User<h3> This user will have a set number of new mail, this will cost you $1000 <form action="'.$_SERVER['PHP_SELF'].'" method="post"> User: '.user_dropdown($c,"user",$_GET['userid']).' number: <input type="text" name="newmail"> <input type="submit" value="Prank \'em"> </form> '; } $h->endpage(); ?> actually it had it twice but there its fixed for yas :) enjoy it Quote Link to comment Share on other sites More sharing options...
Djkanna Posted March 6, 2010 Share Posted March 6, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You also may want to check if the user exists aswell... Quote Link to comment Share on other sites More sharing options...
jds137 Posted March 7, 2010 Share Posted March 7, 2010 Its not my cup of tea. But I will say, it needs some kind of limit added. As some people will abuse this, and send 100 emails. lol Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted March 7, 2010 Share Posted March 7, 2010 Its not my cup of tea. But I will say, it needs some kind of limit added. As some people will abuse this, and send 100 emails. lol Yeah this defiantly aint being used where I'm around. I don't think anyone would appreciate this Quote Link to comment Share on other sites More sharing options...
Djkanna Posted March 7, 2010 Share Posted March 7, 2010 It might have a purpose on say Halloween... Or April Fools Day. Quote Link to comment Share on other sites More sharing options...
Jordan Palmer Posted March 7, 2010 Share Posted March 7, 2010 It might have a purpose on say Halloween... Or April Fools Day. It could be, But I wouldn't add it for two days, I'd sooner just run a comp or something :/ But yeh deffo could work for them Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.