Jump to content
MakeWebGames

Tutorial: v1 - v2 Conversion


Cyanide

Recommended Posts

  • Replies 52
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 years later...
um what about using the class method is safer than the using the built in msyql_query function?

function query($query)

{

$this->last_query=$query;

$this->num_queries++;

$this->result=mysql_query($this->last_query, $this->connection_id) or $this->query_error();

return $this->result;

}

as you can see, it's just doing a mysql_query inside a class. Nothing, absolutely nothing safer about that bro man. :mrgreen:

Completely forgot about this topic.. Figured I'd answer now..

What if your game is using the class_db_mysqli.php, but you're still using the standard mysql_* functions?

Errors galore!

Filepaths available for general reading, most filepaths include usernames. If you're a decent hacker/exploiter, that's more than what you need to start gaining unauthorized access to something that isn't yours

Link to comment
Share on other sites

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...