• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

(SMS-Staff) mosms instead of daopay!

Relaxx

New Member
Joined
Jul 10, 2009
Messages
8
Reaction score
0
Hey! I have my pay SMS service from mosms. I'm using should gesior acc maker, I would like to change so that when you get a thing. We must sms back after you have paid with SMS. In the sms, it should be a code. As to work typing at the homesite so you get points. Can someone please code for me?

When I download the gesior acc maker, I get this script http://data.fuskbugg.se/skalman01/-buypoints2323.php

The script that makes it sends back an SMS from mosms
http://data.fuskbugg.se/skalman01/rwdsds.php
 
PHP:
$code = substr(md5(rand(100,999)), 11, 11);
That would create you a ten characters long code. What you would also have to do is to make an INSERT SQL statement to insert the generated code into your database so we can check if there's a match when the user tries it.
PHP:
$SQL->query('INSERT INTO `z_mosms` (`code`, `status`) VALUES (\''.$code.'\', \'0\')');

Then you would either change the status field to 1 or delete the entry if the user finds a match, and add the points to his player/account.
 
makr0mango, I am trying to encode it but may not work, Could you rewrite the script for me? I have links to what I have now
 
You know that this is the English part of the forums, right? Anyway I might give it a go when I come back from work at 10 PM GMT.
 
Back
Top