Drupal 5.x Find PHP code in database


/ Published in: MySQL
Save to your folder(s)

used to find content that uses the PHP input filter....useful for upgrading core!


Copy this code and paste it in your HTML
  1. select nid, vid from node_revisions where format in (select format from filters where module='filter' and delta = 1);
  2.  
  3. select cid, nid from comments where format in (select format from filters where module='filter' and delta = 1);
  4.  
  5. select bid, info from boxes where format in (select format from filters where module='filter' and delta = 1);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.