SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 21/03/2017, 04:04 PM   #1
GaByM
Little Clucker
 
GaByM's Avatar
 
Join Date: Jan 2014
Posts: 28
Reputation: 0
Default db_escape

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

Code:
"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?
__________________
Sorry for my bad English.
GaByM is offline   Reply With Quote
Old 21/03/2017, 05:51 PM   #2
Jessyy
Huge Clucker
 
Join Date: May 2009
Posts: 241
Reputation: 91
Default Re: db_escape

Eu iti recomand sa-l folosesti in continuare.
Citeste mai mult aici: http://forum.sa-mp.com/showpost.php?...20&postcount=4
__________________
Always have your stuff when you need it with Dropbox. 2GB account is free! https://db.tt/R3HuiXZk
Works at loading... Please wait ███████████████]99.9%
Jessyy is offline   Reply With Quote
Old 25/03/2017, 12:52 PM   #3
wanted2013
Little Clucker
 
Join Date: Sep 2013
Posts: 8
Reputation: 0
Default Re: db_escape

foloseste %e in loc de %s
wanted2013 is offline   Reply With Quote
Reply

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 02:04 AM.


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