Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Guesuper Guesuper is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 408
Rep Power: 14
Guesuper mempunyai hidup yang Normal
Default [ASK / PHP] Mencegah SQL Injection tanpa mysql_real_escape_string

Agan2 dan Agan2wati yang pinter2 di bidang php



ane newbie butuh ilham dr agan2 dan aganwati , gimana caranya mencegah SQL Injection tapi tanpa pake mysql_real_escape_string soalnya kaya gini



misal ane insert



saya suka 'ikan lele dumbo'




ketika di escape kan jadi



saya suka \'ikan lele dumbo'\



nah problemnya ketika misal kita mengecho nya kita ingin mengeluarkan tulisan



saya suka 'ikan lele dumbo'



bukan saya suka \'ikan lele dumbo'\



Gimana cara mengatasi hal ini ya ?



Reply With Quote
Reply


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


 


All times are GMT +7. The time now is 05:48 AM.


no new posts