Jump to content
MakeWebGames

[mccodes v2] Player Report


Recommended Posts

Posted

Hey All, Only a small thing, but it helps

Magictallguy secured this for me i just added the event to admins 1 and 2

preport.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I only did this because when my game was kind of popular i didnt check the player reports

Thanks

Sniko`

Posted

Re: [Mccodes Version 2] Player Report

Fatal error: Call to undefined function clean() in /home/ml/public_html/preport.php on line 7

I added it, and did not get any events. Also I removed the word clean..

Posted

Re: [Mccodes Version 2] Player Report

Oh it worked for me try this

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [mccodes v2] Player Report

It secures what ever part they are using..

Add this to your globals.php:

function clean($string) {

$var = htmlentities(mysql_real_escape_string(trim($string)));

return $var;

}

I am sure there one has more but i just put that little bit there.

Posted

Re: [mccodes v2] Player Report

It worked like a charm. How could we go about adding a date to this? I know it would be helpfull in making sure reports are current.

Posted

Re: [mccodes v2] Player Report

 

It worked like a charm. How could we go about adding a date to this? I know it would be helpfull in making sure reports are current.

unix_timestamp() ? then you get a time aswell.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...