Jump to content

Need help


iLight

Recommended Posts

Hello, I would like someone to fix that mysql command so that users can't refresh the page so it send the mysql command again and again and again :

 

mysql_connect("localhost", "*****", "*****");

mysql_select_db("*******_whmcs");

mysql_query("UPDATE tblclients SET credit=credit + 1 WHERE id='" . $_SESSION['uid'] . "'");

 

 

 

It will be veryyyyy nice. I can pay for that :x.

 

Since my webmaster is in vacation, I have to fix it quickly.

Link to comment
Share on other sites

Well I've made a phone system in whmcs (that allows customers to buy game servers with credits on their phone =) ) so I just need to fix some bugs. Shall I post the script here so you can find something to secure it ?

 

 

Thank you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 26 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use