Maaren Posted June 9, 2008 Report Share Posted June 9, 2008 (edited) deleted Edited January 2, 2010 by Maaren Link to comment Share on other sites More sharing options...
Kavacky Posted June 9, 2008 Report Share Posted June 9, 2008 Lietas, ko meklēt: magic_quotes_gpc un mysql_real_escape_string Link to comment Share on other sites More sharing options...
Klez Posted June 9, 2008 Report Share Posted June 9, 2008 nu ja ka pievienojas, jo tu vinjus pac pieliec .... http://lv.php.net/addslashes izlasi saakumu Link to comment Share on other sites More sharing options...
Klez Posted June 9, 2008 Report Share Posted June 9, 2008 (edited) angliski nesaprotam vai negribas lasiit ? Edited June 9, 2008 by Klez Link to comment Share on other sites More sharing options...
marcis Posted June 9, 2008 Report Share Posted June 9, 2008 magic_quotes_gpc apstrādā gan $_GET, gan $_POST masīvus līdzko tajos ir ko apstrādāt. Tb gan veicot mysql_query() gan arī to neveicot. Es dodu priekšroku apstrādāt visus datur ar mysql_real_escape_string(), pirms bāzt iekš kverija. Link to comment Share on other sites More sharing options...
Recommended Posts