![]() |
Quote:
|
Quote:
|
My users are cheating the arcade simply by editing the url is there a way to prevent this?
Example http://www.limpkinw.com/forums/proar...abf39dd76dd245 Will submit a score of 1100 in blackjack or if you edit the score variable it will submit the score of your choosing. Can this be prevented? Thanks |
Ah, that fixed it. Thanks:)
Any idea when a Mozilla/Mac compliant version will be available? No scores for me:( (mac) |
Quote:
// security check for HTTP_GET $strippedvar = substr($gameinfo[scorevar],1); if (isset($_GET[thescore]) or isset($_GET[$strippedvar])) { // output some message if desired, like: echo "Cheater!\n\n"; exit; } That should prevent anybody from entering a score variable in the query string. |
Cool, woudl there be a way to add the players who try this to a list...or page...just the basic idea and i can take it from there :)
|
You have have to add a field to the database somewhere and then add a query to the above code (between the brackets) to insert some information into that field. Or actually, to make it easier, you could just have the system send you an email when this happens. Take a look at this section of the PHP documentation:
http://us4.php.net/manual/en/ref.mail.php You could include the date, time, user's name and query string in the email, so you'd get all the info. Hope that helps. |
i think i have the query right, and its inserting a "counter" inot the database. Now i am trying to make a page display the cheaters...kinda like the store top 10...Working on it if I get it workin I can post here for evaluation/sharing purposes.
|
I got a problem with changing a game's champion text. Whenever I change the text and submit the changes it always goes back to just "t". Any ideas? :confused:
|
It is possible only to clear a part of the scourboard ?
I dont want to clear the topscore... Please help... Thanks Mäuschen. |
All times are GMT. The time now is 10:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|