Guest User

Untitled

a guest
Feb 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. root@cert-cos5 stars]# diff -u stars_index.php.orig stars_index.php
  2. --- stars_index.php.orig 2011-10-28 09:28:31.000000000 -0400
  3. +++ stars_index.php 2011-10-28 09:29:10.000000000 -0400
  4. @@ -77,7 +77,7 @@
  5.  
  6. if ($_POST && $_POST['star_selected']) {
  7. //var_dump($_POST);
  8. - $star = $_POST['star_selected'];
  9. + $star = mysql_real_escape_string($_POST['star_selected']);
  10. $wpdb->query("select * from dati left join planetas on dati.planetas_id=planetas.id where planetas_id=$star");
Add Comment
Please, Sign In to add comment