SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Română/Romanian

Thread Tools Display Modes
Old 21/03/2017, 04:04 PM   #1
Big Clucker
GaByM's Avatar
Join Date: Jan 2014
Location: Romania
Posts: 112
Reputation: 10
Default db_escape

db_escape e folosit pentru a impiedica SQL injection. Dar daca eu am scriptul asa:

"SELECT * FROM users WHERE name = '%s' LIMIT 0, 1"
%s e pus intre ghilimele, deci nu mai poti sa iti pui numele 'x OR 1=1'. Mai trebuie db_escape acum?
GaByM is offline  
Old 21/03/2017, 05:51 PM   #2
Huge Clucker
Join Date: May 2009
Posts: 244
Reputation: 91
Default Re: db_escape

Eu iti recomand sa-l folosesti in continuare.
Citeste mai mult aici:
Always have your stuff when you need it with Dropbox. 2GB account is free!
Works at loading... Please wait ███████████████]99.9%
Jessyy is offline  
Old 25/03/2017, 12:52 PM   #3
Little Clucker
Join Date: Sep 2013
Posts: 8
Reputation: 0
Default Re: db_escape

foloseste %e in loc de %s
wanted2013 is offline  

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Undefined Symbol "DB_Escape" maikonk Português/Portuguese 6 23/08/2014 08:35 AM

All times are GMT. The time now is 04:01 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.