Skip to main content
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Tweeted twitter.com/#!/StackDrupal/status/361905012873506816
edited title
Link
Patrick Kenny
  • 29.4k
  • 19
  • 139
  • 316

Will the phpPHP filter prventprevent SQL injection attacks?

Source Link
Tom
  • 233
  • 3
  • 13

Will the php filter prvent SQL injection

I had trouble getting the form API to work though I am considering re doing all my forms with it. I have some custom html/php forms however I directly insert into the DB using pg_query. I am looking into replacing that with pg_query_params to escape. I was wondering whether the php filter module, if I set it up, would prevent users from doing harm via sql injection? Iwould guess not but thought I would check.

Just looking for suggestions.